2017-06-04 54 views
-1

推動時,我發生衝突。所以我把它拉了出來,並且糾正了我在當地的衝突。在Git發生衝突的情況下提交更改時出現問題?

Git拉和推不工作。

對於拉動下,錯誤是:

[email protected] MINGW64 /e/Git project (master|MERGING) 
*git pull origin master* 
error: You have not concluded your merge (MERGE_HEAD exists). 
hint: Please, commit your changes before merging. 
fatal: Exiting because of unfinished merge. 

對於推,錯誤是:

! [rejected]  master -> master (non-fast-forward) 
error: failed to push some refs to center git repository 
hint: Updates were rejected because the tip of your current branch is behind 
hint: its remote counterpart. Integrate the remote changes (e.g. 
hint: 'git pull ...') before pushing again. 
+2

讀什麼錯誤消息告訴你:'你有沒有總結你的合併(MERGE_HEAD存在)。 提示:請在合併之前提交您的更改。 –

回答

相關問題