diff options
Diffstat (limited to 'gitconfig')
-rw-r--r-- | gitconfig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..2ac3fa6 --- /dev/null +++ b/gitconfig @@ -0,0 +1,39 @@ +[includeIf "gitdir:~/personal/"] + path = ~/.gitconfig_personal +[includeIf "gitdir:~/work/"] + path = ~/.gitconfig_work + +[core] + excludesfile = ~/.gitignore_global + attributesfile = ~/.gitattributes + pager = bat +[merge] + tool = vimdiff + conflictstyle = diff3 +[pull] + rebase = true + ff = only +[mergetool] + path = nvim +[color] + ui = auto +[credential] + helper = store +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[commit] + gpgSign = true + verbose = true +[gpg] + program = /usr/local/MacGPG2/bin/gpg2 + +[diff "rspec"] + xfuncname = "^[ \t]*((RSpec|describe|context|it|before|after|around|feature|scenario)[ \t].*)$" +[user] + name = Nicholas Van Doorn + email = vandoorn.nick@gmail.com +[init] + defaultBranch = main |