diff --git a/.config/git/config b/.config/git/config index 9e4cfae..913d975 100644 --- a/.config/git/config +++ b/.config/git/config @@ -1,23 +1,26 @@ -[user] - name = Niklas Kapelle - email = niklas@kapelle.org - signingkey = 4EB651B36D841D16 [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true + [init] defaultBranch = master + [core] excludesFile = ~/.config/gitignore + [pager] - diff = delta - log = delta - reflog = delta - show = delta + diff = delta + log = delta + reflog = delta + show = delta [interactive] - diffFilter = delta --color-only -[commit] - gpgsign = true + diffFilter = delta --color-only + +[user] + useconfigonly = true + +[includeIf "hasconfig:remote.*.url:**/*git.kapelle.org:*/**"] + path = ~/.config/git/private.inc diff --git a/.config/git/private.inc b/.config/git/private.inc new file mode 100644 index 0000000..42c7864 --- /dev/null +++ b/.config/git/private.inc @@ -0,0 +1,6 @@ +[user] + name = Niklas Kapelle + email = niklas@kapelle.org + signingkey = 4EB651B36D841D16 +[commit] + gpgsign = true diff --git a/.config/git/public.inc b/.config/git/public.inc new file mode 100644 index 0000000..4ef2e83 --- /dev/null +++ b/.config/git/public.inc @@ -0,0 +1,3 @@ +[user] + name = Djeeberjr + email = djeeberjr@gmail.com