Specify global and local git configurations

This commit is contained in:
Bart van der Braak 2024-10-21 16:38:32 +02:00
parent cbc2cdbcf6
commit fa93b22fd9
2 changed files with 11 additions and 0 deletions
tongfang

View file

@ -0,0 +1,2 @@
[user]
email = bart@blender.org

View file

@ -1,6 +1,7 @@
[user]
name = Bart van der Braak
email = bart@vanderbraak.nl
# signingkey = 26ED0D75D89D9B61
[alias]
p = push
st = status
@ -15,6 +16,8 @@
excludesfile = $HOME/.gitignore_global
[init]
defaultBranch = main
[commit]
# gpgsign = true
[push]
autoSetupRemote = true
[filter "lfs"]
@ -22,3 +25,9 @@
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[includeIf "gitdir:~/Repos/github.com/blender/"]
path = ~/.config/git/blender.gitconfig
[includeIf "gitdir:~/Repos/gitlab.com/blender/"]
path = ~/.config/git/blender.gitconfig
[includeIf "gitdir:~/Repos/projects.blender.org/"]
path = ~/.config/git/blender.gitconfig