-1

可能重复:
Git Fast-Forward Merge 需要先拉取

     Pushing to git@github.com:ravi-saxena/locpla.git

错误 :

To git@github.com:ravi-saxena/locpla.git
! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:ravi-saxena/locpla.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

推送我最近创建的新存储库时出现此错误..

4

1 回答 1

0

先做一个git pull,然后再做一个git push

于 2012-12-19T07:23:21.277 回答