Le jeudi 01 novembre 2018 à 10:59 +0100, Nicolas Mailhot a écrit : > Hi, > > A dev persona is not just a username, please add email (and probably > also name) support to git credentials so the correct set for a repo > url > is automatically picked up by git So, just in case it was not clear enough, allow things in .gitconfig like [credential "https://pkgs.fedoraproject.org/"] username = doe4ever name = John Doe email = foo4ever@xxxxxxxxxxxxxxxxx [credential "https://gitlab.corp.com/"] username = jdoe56874 name = John Doe, Snr Engineer email = john.doe@xxxxxxxx Instead of just [user] name = John Doe email = john.doe@xxxxxxxx [credential "https://pkgs.fedoraproject.org/"] username = doe4ever email = foo@xxxxxxxxxxxxxxxxx [credential "https://gitlab.corp.com/"] username = jdoe56874 and drat, I've commited to XXX with the wrong name/email again -- Nicolas Mailhot