git: override user.email in dotfiles repository
This commit is contained in:
parent
8a8efe5f62
commit
7c3f01a88e
2 changed files with 9 additions and 0 deletions
|
@ -78,3 +78,8 @@
|
|||
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.
|
||||
[includeIf "gitdir:~/.dotfiles/"]
|
||||
path = ~/.config/git/dotfiles
|
||||
|
||||
|
|
4
git/.config/git/dotfiles
Normal file
4
git/.config/git/dotfiles
Normal file
|
@ -0,0 +1,4 @@
|
|||
[user]
|
||||
name = Fernando Schauenburg
|
||||
email = fernando@schauenburg.me
|
||||
|
Loading…
Add table
Reference in a new issue