diff --git a/git/.gitconfig b/git/.gitconfig index 4c50fca..73094ca 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,9 +1,19 @@ -[user] - email = foobar@adamsdesk.com - name = Adam - +[includeIf "gitdir:~/dev/Arcticons/"] + path = .gitconfig-github +[includeIf "gitdir:~/dev/adamsdesk.com/"] + path = .gitconfig-gitlab +[includeIf "gitdir:~/dev/dotfiles/"] + path = .gitconfig-gitlab +[includeIf "gitdir:~/dev/kb/"] + path = .gitconfig-gitlab +[includeIf "gitdir:~/dev/kb/_public/"] + path = .gitconfig-cirrus +[includeIf "gitdir:~/dev/atled-lightsctl-web/"] + path = .gitconfig-gitlab +[includeIf "gitdir:~/dev/steephillfood/"] + path = .gitconfig-gitlab [core] - autocrlf = false + autocrlf = false whitespace = -indent-with-non-tab,trailing-space,cr-at-eol [color] @@ -44,4 +54,6 @@ [merge] tool = diff [init] - defaultBranch = main + defaultBranch = main +[gpg] + program = /usr/bin/gpg