2012-12-19 114 views
-1

可能重复:
Git Fast-Forward Merge requires a pull first的Git -push错误

 Pushing to [email protected]:ravi-saxena/locpla.git 

错误:

To [email protected]:ravi-saxena/locpla.git 
! [rejected]  master -> master (non-fast-forward) 
error: failed to push some refs to '[email protected]: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. 

我收到此错误,同时推动新reposit ORY我最近创建..

+1

的Git建议你运行'git pull'。你有吗? – Moshe

+0

@Moshe是的,我跑git pull –

+1

你也应该包括输出。 – Moshe

回答

0

先制作一个git pull,之后做出git push

+0

我已经这样做了,但同样的错误即将到来。 –