# Sample gitconfig # [include] path = ~/.gitconfig.local [hub] protocol = https [alias] count = !git shortlog -sn [color] diff = auto status = auto branch = auto ui = true [core] excludesfile = ~/.gitignore editor = vim whitespace = blank-at-eol,blank-at-eof,space-before-tab,tab-indent pager = less -x1,5 [apply] #whitespace = error [mergetool] keepBackup = false [difftool] prompt = false [help] autocorrect = 1 [commit] gpgsign = 1 [push] default = simple recurseSubmodules = check [rerere] enabled = true [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [pull] ff = only