2012-12-19 145 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

我已經這樣做了,但同樣的錯誤即將到來。 –