Git Difftool with Beyond Compare 3
git config --global diff.tool bc
git config --global difftool.bc.path "C:\Program Files (x86)\Beyond Compare 3\BComp.exe"
git config --global difftool.prompt false
git config --global merge.tool bc
git config --global mergetool.bc.path "C:\Program Files (x86)\Beyond Compare 3\BComp.exe"
git config --global alias.mydiff "difftool --dir-diff --tool=bc --no-prompt"
Carriage return line feeds
Windows uses CRLF (\r\n) whereas Linux and MacOS just use line feed (\n).
You can turn off warnings with
git config core.autocrlf true
No comments:
Post a Comment