mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-05-02 08:51:22 +00:00
Specify global and local git configurations
This commit is contained in:
parent
cbc2cdbcf6
commit
fa93b22fd9
2 changed files with 11 additions and 0 deletions
2
tongfang/.config/git/blender.gitconfig
Normal file
2
tongfang/.config/git/blender.gitconfig
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[user]
|
||||||
|
email = bart@blender.org
|
|
@ -1,6 +1,7 @@
|
||||||
[user]
|
[user]
|
||||||
name = Bart van der Braak
|
name = Bart van der Braak
|
||||||
email = bart@vanderbraak.nl
|
email = bart@vanderbraak.nl
|
||||||
|
# signingkey = 26ED0D75D89D9B61
|
||||||
[alias]
|
[alias]
|
||||||
p = push
|
p = push
|
||||||
st = status
|
st = status
|
||||||
|
@ -15,6 +16,8 @@
|
||||||
excludesfile = $HOME/.gitignore_global
|
excludesfile = $HOME/.gitignore_global
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[commit]
|
||||||
|
# gpgsign = true
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
|
@ -22,3 +25,9 @@
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
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
|
Loading…
Reference in a new issue