merge conflict

Git & GitHub/오류해결

[오류해결][Git] merge Conflict 해결

$ git merge my Auto-merging 기능.txt CONFLICT (content): Merge conflict in 기능.txt Automatic merge failed; fix conflicts and then commit the result. 한 프로젝트를 가지고 브랜치를 나눠서 서로 다른 작업을 하다보면 프로젝트 수정하는 부분이 겹칠 수도 있다. 이 때 git merge 명령어를 통해 브랜치를 합병하면 위와 같은 오류가 발생할 수 있다. Automatic merge failed; fix conflicts and then commit the result. 해석해보자면, 합병에 실패했다. 충돌되는 부분을 수정하고나서 커밋하라는 말이다. 만약 main 브랜치와 my 브랜치가 있다고 해보자...

gakko
'merge conflict' 태그의 글 목록