오류&에러/Git
[Git]error: Merging is not possible because you have unmerged files.
씨네
2021. 6. 23. 21:04
728x90
error: Merging is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
아니.. 세상에... 프로젝트를 하다가 콜라보한 레포지토리에서 제 브렌치로 main을 pull받고나니까 충돌이 생기더군요...
어찌저찌 해결하고 merge를 하려는데 이런 에러가 또 뜨지 뭐에요!!
정말 진이 다빠지고 당황했지만 자세히 보니까 에러 메세지중에 git add/rm <file>이라는 부분이 있더라구요
git add .
git commit -m "오류 수정"
git push
명령을 차례대로 입력하니까 해결이 되었습니다! 행복 ㅎㅎ
728x90