Skip to content

Instantly share code, notes, and snippets.

@huynle
Created May 2, 2018 17:41
Show Gist options
  • Save huynle/9d6bb87e2626b21fc578efa61c4df1a2 to your computer and use it in GitHub Desktop.
Save huynle/9d6bb87e2626b21fc578efa61c4df1a2 to your computer and use it in GitHub Desktop.
.gitconfig for windows
[core]
editor = gvim
excludesfile = /home/hle/.gitignore
autocrlf = input
safecrlf = false
[merge]
ff = only
tool = gvimdiff
conflictstyle = diff3
[mergetool]
keepBackup = false
prompt = false
[difftool]
keepBackup = false
prompt = false
[push]
default = current
[fetch]
prune = true
[diff]
tool = gvimdiff
[difftool "gvimdiff"]
cmd = "gvim -c 'set columns=250' -c 'wincmd =' -d" "$LOCAL" "$REMOTE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment