标签:
结合gitbase 和 龟头来使用。
提交的时候出现这样的错误:
To git@git.oschina.net:bambom/Java-Server.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to ‘git@git.oschina.net:bambom/Java-Server.git
hint: Updates were rejected because the tip of your current branch is behin
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.
是因为:README.md文件没在本地
可以使用 git pull --rebase origin master 将其拉到本地。 然后就能将同步信息同步
在推送: git push -u origin master
标签:
原文地址:http://www.cnblogs.com/bambomtan/p/5204553.html