Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Monas-MacBook-Pro:PythonCodes mona$ git remote add origin git@github.com:lamiastella/Python_Playground
- Monas-MacBook-Pro:PythonCodes mona$ git push -u origin master
- To git@github.com:lamiastella/Python_Playground
- ! [rejected] master -> master (fetch first)
- error: failed to push some refs to 'git@github.com:lamiastella/Python_Playground'
- 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.
- Monas-MacBook-Pro:PythonCodes mona$ git pull
- warning: no common commits
- remote: Counting objects: 3, done.
- remote: Compressing objects: 100% (2/2), done.
- remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
- Unpacking objects: 100% (3/3), done.
- From github.com:lamiastella/Python_Playground
- * [new branch] master -> origin/master
- There is no tracking information for the current branch.
- Please specify which branch you want to merge with.
- See git-pull(1) for details
- git pull <remote> <branch>
- If you wish to set tracking information for this branch you can do so with:
- git branch --set-upstream-to=origin/<branch> master
- Monas-MacBook-Pro:PythonCodes mona$ git push -u origin master
- To git@github.com:lamiastella/Python_Playground
- ! [rejected] master -> master (non-fast-forward)
- error: failed to push some refs to 'git@github.com:lamiastella/Python_Playground'
- hint: Updates were rejected because the tip of your current branch is behind
- hint: its remote counterpart. Integrate the remote changes (e.g.
- hint: 'git pull ...') before pushing again.
- hint: See the 'Note about fast-forwards' in 'git push --help' for details.
- Monas-MacBook-Pro:PythonCodes mona$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement