mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-28 12:19:09 +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
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue