Child pages
  • git pull 실패 - You have not concluded your merge (MERGE_HEAD exists)




다음과 같은 에러 메시지 발생하고 pull 실패

You have not concluded your merge (MERGE_HEAD exists).
Please, commit your changes before you can merge.



바로 직전 pull 시 머지를 시도했지만 conflict 가 발생하여 충돌 상태일 경우 발생함.



  1. 머지를 취소하고 다시 pull 을 받음

    머지 취소
    git merge --abort
  2. 충돌 해결 후 다시 pull 받음

  3. 변경 내역을 커밋하고 다시 pull


특별한 리비전 의미

  • HEAD names the commit on which you based the changes in the working tree.
  • FETCH_HEAD records the branch which you fetched from a remote repository with your last git fetch invocation.
  • ORIG_HEAD is created by commands that move your HEAD in a drastic way, to record the position of the HEAD before their operation, so that you can easily change the tip of the branch back to the state before you ran them.
  • MERGE_HEAD records the commit(s) which you are merging into your branch when you run git merge.
  • CHERRY_PICK_HEAD records the commit which you are cherry-picking when you run git cherry-pick.



  • No labels

This page has no comments.