lamiastella

error: failed to push some refs to 'https://github.com/monaj

Oct 27th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git push origin master
  2. fatal: remote error:
  3. You can't push to git://github.com/monajalal/yolo_mona.git
  4. Use https://github.com/monajalal/yolo_mona.git
  5. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git remote set-url origin https://github.com/monajalal/yolo_mona.git
  6. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git push origin master
  7. Username for 'https://github.com': monajalal
  8. Password for 'https://monajalal@github.com':
  9. To https://github.com/monajalal/yolo_mona.git
  10. ! [rejected] master -> master (fetch first)
  11. error: failed to push some refs to 'https://github.com/monajalal/yolo_mona.git'
  12. hint: Updates were rejected because the remote contains work that you do
  13. hint: not have locally. This is usually caused by another repository pushing
  14. hint: to the same ref. You may want to first integrate the remote changes
  15. hint: (e.g., 'git pull ...') before pushing again.
  16. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  17. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git pull
  18. warning: no common commits
  19. remote: Counting objects: 3, done.
  20. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
  21. Unpacking objects: 100% (3/3), done.
  22. From https://github.com/monajalal/yolo_mona
  23. * [new branch] master -> origin/master
  24. There is no tracking information for the current branch.
  25. Please specify which branch you want to merge with.
  26. See git-pull(1) for details
  27.  
  28. git pull <remote> <branch>
  29.  
  30. If you wish to set tracking information for this branch you can do so with:
  31.  
  32. git branch --set-upstream-to=origin/<branch> master
  33.  
  34. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git push origin master
  35. Username for 'https://github.com': monajalal
  36. Password for 'https://monajalal@github.com':
  37. To https://github.com/monajalal/yolo_mona.git
  38. ! [rejected] master -> master (non-fast-forward)
  39. error: failed to push some refs to 'https://github.com/monajalal/yolo_mona.git'
  40. hint: Updates were rejected because the tip of your current branch is behind
  41. hint: its remote counterpart. Integrate the remote changes (e.g.
  42. hint: 'git pull ...') before pushing again.
  43. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  44. mona@pascal:~/computer_vision/deep_learning/darknet/src$ git pull
  45. There is no tracking information for the current branch.
  46. Please specify which branch you want to merge with.
  47. See git-pull(1) for details
  48.  
  49. git pull <remote> <branch>
  50.  
  51. If you wish to set tracking information for this branch you can do so with:
  52.  
  53. git branch --set-upstream-to=origin/<branch> master
  54.  
  55. mona@pascal:~/computer_vision/deep_learning/darknet/src$
Add Comment
Please, Sign In to add comment