搜尋此網誌

2013年9月5日 星期四

【GitHub】git did not exit cleanly (exit code 1)

git.exe push --all --progress  "origin"

To git@github.com:Ptodue/aCrawler.git
! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@github.com:Ptodue/aCrawler.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 merge the remote changes (e.g.,
hint: 'git pull') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

就是說當GitHub有做修改時,要先push新資料到本機端,之後才能再pull上去。


沒有留言: