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.
我在推送最近创建的新存储库时遇到此错误。
答案 0 :(得分:0)
首先制作git pull
,然后制作git push