12.7.4 충돌 및 기록

    브랜치를 생성하고 동일한 위치의 코드를 수정했습니다.

    ▼ 그림 12-16 충돌이 예상되는 저장소

    317875.png

    생성한 두 브랜치를 병합합니다. 동일한 파일에서 동일한 위치를 수정했기 때문에 충돌이 발생합니다.

    infoh@DESKTOP MINGW64 /e/git-rerere (master)

    $ git merge feature 병합

    Auto-merging hello.htm

    CONFLICT (content): Merge conflict in hello.htm

    Recorded preimage for 'hello.htm' 충돌

    Automatic merge failed; fix conflicts and then commit the result.

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.