About the usage of @debian.org outside of Debian, I’d say go for it.

Le Sun, Feb 08, 2026 at 10:10:32AM +0530, Nilesh Patra a écrit :
> 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.

I have a git setup here where the committer address is set based on the 
directory I’m under.

All of my Debian-related stuff is in sub-directories of ~/debian/, with 
examples being paths
like ~/debian/games/jazz2-native/jazz2-native.git or 
~/debian/logging/metalog/metalog.git

In ~/.config/git/config I have:

[include]
    path = env/default
[includeIf "gitdir:~/play.it/"]
    path = env/playit
[includeIf "gitdir:~/debian/"]
    path = env/debian

Then in ~/.config/git/env/debian I have:

[user]
    email = [email protected]

Other files in ~/.config/git/env/ are similar, setting other e-mail addresses 
based on context.
This is relying on base git features, no need for any kind of plugin or wrapper 
for this to work.

Attachment: signature.asc
Description: PGP signature

Reply via email to