diff options
author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-04 18:12:54 -0700 |
---|---|---|
committer | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-17 10:47:48 -0700 |
commit | 6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch) | |
tree | 0cf7b1d160d0671eeacb66004433b63572b96ebd /gitconfig |
Initial commit
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 |