git: ensure correct e-mail for dotfiles and personal projects
This commit is contained in:
parent
3921c1e52b
commit
f1c60d8012
2 changed files with 4 additions and 3 deletions
|
@ -116,8 +116,9 @@
|
|||
path = ~/.local/etc/git/config.user # user name & e-mail (from template)
|
||||
path = ~/.local/etc/git/config # optional manual configurations
|
||||
|
||||
# Overrides for my dotfiles directory to make sure I never commit with the
|
||||
# wrong e-mail address.
|
||||
# Never commit my dotfiles or personal projects with the wrong e-mail address.
|
||||
[includeIf "gitdir:~/.dotfiles/"]
|
||||
path = ~/.config/git/dotfiles
|
||||
path = ~/.config/git/dev@schauenburg.me
|
||||
[includeIf "gitdir:~/.local/src/"]
|
||||
path = ~/.config/git/dev@schauenburg.me
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue