Skip to content

Instantly share code, notes, and snippets.

@andkirby
Last active June 29, 2017 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andkirby/c96f4da0ab2dcd187f5670dfed25f1a6 to your computer and use it in GitHub Desktop.
Save andkirby/c96f4da0ab2dcd187f5670dfed25f1a6 to your computer and use it in GitHub Desktop.
Sample of global .gitconfig.
[user]
name =
email =
[push]
default = current
[core]
excludesfile = ~/.gitignore
editor = vim
autocrlf = input
eol = lf
mergeoptions = --no-edit
trustctime = false
filemode = false
[credential]
helper = d:/prog/git-credential-winstore.exe
[http]
sslVerify = false
[pull]
default = current
[rebase]
autostash = true
[color]
ui = true
[merge]
tool = vimdiff
[mergetool]
keeptemporaries = false
keepbackups = false
prompt = false
trustexitcode = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment