Hi Nilesh, > When I push commits to repos in debian without gbp, it leads to > commits going with non d.o address. Furthermore, I have to double > think if I should use my @d.o when I am forwarding debian patches > to upstream projects v/s when I am not.
A while ago, I found that you can add this to ~/.gitconfig:
```
[includeIf "gitdir/i:**/debian/"]
path = ~/.gitconfig.debian
[includeIf "gitdir/i:**/pkg-perl/"]
path = ~/.gitconfig.debian
[includeIf "gitdir/i:**/salsa/"]
path = ~/.gitconfig.debian
```
Meaning any git repo that has /debian/, /pkg-perl/ or /salsa/ in
the base path, and then ~/.gitconfig.debian overrides user.email.
Hope this helps!
Alex
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Alex Muntada <[email protected]>
⢿⡄⠘⠷⠚⠋ Debian Developer 🍥 log.alexm.org
⠈⠳⣄⠀⠀⠀⠀
signature.asc
Description: PGP signature

