From 6af4ba943f6b73e31a0b2bd0262d953a2e954ddb Mon Sep 17 00:00:00 2001 From: Nicholas Van Doorn Date: Wed, 4 Aug 2021 18:12:54 -0700 Subject: Initial commit --- gitconfig | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gitconfig (limited to 'gitconfig') 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 -- cgit v1.2.3