社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
Administrator@PC-20150110FGWU /K/cocos2d/yc (master)
$ git push -u origin master
To git@github.com:yangchao0718/cocos2d.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:yangchao0718/cocos2d.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.
$ git push -u origin master
但依然没能解决问题
git pull --rebase origin master
http://jingyan.baidu.com/article/f3e34a12a25bc8f5ea65354a.html
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!