Please make sure you have the correct access rights and the repository exists

Please make sure you have the correct access rights

This preview shows page 13 - 15 out of 23 pages.

Please make sure you have the correct access rights and the repository exists. [email protected] MINGW64 ~/hello-world (master) $ ls Hello-world / index2.html indexb.html README.md sraone index.html index22.html indexgh.html shravann / [email protected] MINGW64 ~/hello-world (master) $ ^C [email protected] MINGW64 ~/hello-world (master) $ git push To ! [rejected] master -> master (fetch first) error: failed to push some refs to '' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. [email protected] MINGW64 ~/hello-world (master) $ git pull remote: Counting objects: 5, done. remote: Compressing objects: 100% (5/5), done. remote: Total 5 (delta 3), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (5/5), done. From * branch HEAD -> FETCH_HEAD Removing index2.html Merge made by the 'recursive' strategy. index2.html | 4 ---- index22.html | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 index2.html [email protected] MINGW64 ~/hello-world (master) $ git commit -m 'update' On branch master Your branch is ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits) Untracked files: Hello-world/ indexb.html nothing added to commit but untracked files present
Image of page 13
[email protected] MINGW64 ~/hello-world (master) $ git push Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (7/7), 638 bytes | 0 bytes/s, done. Total 7 (delta 2), reused 0 (delta 0) remote: Resolving deltas: 100% (2/2), completed with 1 local objects. To b052d51..8278406 master -> master [email protected] MINGW64 ~/hello-world (master) $ ls Hello-world / index22.html indexgh.html shravann / index.html indexb.html README.md sraone [email protected] MINGW64 ~/hello-world (master) $ rm -r index22.html [email protected] MINGW64 ~/hello-world (master) $ rm -r indexgh.html [email protected] MINGW64 ~/hello-world (master) $ vi sraone [email protected] MINGW64 ~/hello-world (master) $ git add sraone [email protected] MINGW64 ~/hello-world (master) $ git commit -m "sraone" [master 0523903] sraone Committer: shravan parande <shravan parande> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly. Run the following command and follow the instructions in your editor to edit your configuration file: git config --global --edit After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 file changed, 1 insertion(+) [email protected] MINGW64 ~/hello-world (master) $ git status On branch master Your branch is ahead of 'origin/master' by 1 commit.
Image of page 14
Image of page 15

You've reached the end of your free preview.

Want to read all 23 pages?

  • Spring '16
  • editor, Revision control, git, Comparison of revision control software, sraone, ~/hello-world (master)

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture