Notice
Recent Posts
Recent Comments
Link
관리 메뉴

김종권의 iOS 앱 개발 알아가기

[git] merge tool - kdiff3 사용방법 본문

Git, CocoaPods, Xcode, Shell

[git] merge tool - kdiff3 사용방법

jake-kim 2020. 6. 21. 15:43

cf) xcode사용시 UserInterfaceState.xcuserstate 파일 .ignore에 추가 할 것

1. 다운로드

kdiff3.sourceforge.net

 

KDiff3 - Homepage

News  Features  Screenshots  Project At Sourceforge  Licence: GPL  Download  Documentation  Questions and Answers  Abstract (PDF)  KDiff3 on Debian  Donations  Links  Current version (in this repository): 0.9.98 (2014-07-04) For information reg

kdiff3.sourceforge.net

 

2. 다운로드 후, dock에서 finder 클릭 -> 응용프로그램 폴더에 kdiff드래그앤 드롭

 

3. 아래 명령을 실행 (똑같이 실행)

git config --add merge.tool kdiff3
git config --add mergetool.kdiff3.path /Applications/kdiff3.app/Contents/MacOS/kdiff3 
git config --add mergetool.kdiff3.trustExitCode false

 

4. 충돌이 일어난 곳에서 merge tool실행

git mergetool

 

결과

Comments