Part 06. Git_Chapter 08. Merge and Conflict

수야·2023년 8월 4일
0

merge

현재 위치한 branch를 다른 branch에 병합

git merge <branchname>

conflict

conflict 해결법

mergetool 실행
conflict 발생 이후 아래와 같이 mergetool을 실행하면 conflict난 파일들 차례로 연결됨

git mergetool

뭘 유지할지 선택하라함


선택하는 파일내용만 남기고 지우면됨

profile
수야는 코린이에서 더 나아갈거야

0개의 댓글