# Sample gitconfig # [include] path = ~/.gitconfig.local [hub] protocol = https [alias] count = !git shortlog -sn [color] diff = auto status = auto branch = auto ui = true [core] attributesfile = ~/.gitattributes excludesfile = ~/.gitignore editor = nvim 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 [init] defaultBranch = main [diff "clean"] xfuncname = "^((\\S.*)?::.*)$" [diff "wat"] xfuncname = "^\\s*(\\((func|module).*)$"