git错误:push 的时候出错

Mr-LeedeMacBook-Pro:CrazyDrag mr_lee$ git push -u origin master

To [email protected]:1213125967/CrazyDrag.git

 ! [rejected]        master -> master (non-fast-forward)

error: failed to push some refs to '[email protected]:1213125967/CrazyDrag.git'

hint: Updates were rejected because a pushed branch tip is behind its remote

hint: counterpart. Check out this branch and merge the remote changes

hint: (e.g. 'git pull') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.


纠结了好久好久的,说实话我现在还莫名其妙的


只记得当时是 点 Xcode 里的 configure 项目 一下

再check out 一下

再Commit 一下

最后一提交 完事。。。


感觉有点烦

希望多弄几次熟练了就好了

你可能感兴趣的:(git错误:push 的时候出错)