Skip to content

Commit

Permalink
Update 03b_github_collaboration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhetani authored Apr 18, 2023
1 parent 9c5d697 commit d2743bf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Git-Github/lessons/03b_github_collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,12 @@ $ git push origin master
~~~
~~~ {.output}
To https://github.com/vlad/planets.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/vlad/planets.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'github.com:vlad/planets.git'
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.
~~~

Expand Down

0 comments on commit d2743bf

Please sign in to comment.