Using Vimdiff with Git Diff – Dumping Ground
git config --global diff.tool vimdiff git config --global difftool.prompt false git config --global alias.d difftool
첫번째 줄은 표준 설정인 diff.tool을 vimdiff에 매핑하는 것이고, 두번째 명령은 difftool 을 실행시킬때 마다 묻는 번거로움을 없애줌. 마지막 줄은 difftool 명령을 d로 줄여준다. 만일 vimdiff를 사용하려면 아래와 같이 설정한다.
git config --global alias.vimdiff difftool
Using Vimdiff with Git Diff – Dumping Ground.
Leave a Comment