Sunday 8 November 2020

Git Settings

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

Resolved: Git warning LF will be replaced by CRLF in file | vGeek - Tales from real IT system Administration environment (

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