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 = foo4e...@fedoraproject.org [credential "https://gitlab.corp.com/"] username = jdoe56874 name = John Doe, Snr Engineer email = john....@corp.com Instead of just [user] name = John Doe email = john....@corp.com [credential "https://pkgs.fedoraproject.org/"] username = doe4ever email = f...@fedoraproject.org [credential "https://gitlab.corp.com/"] username = jdoe56874 and drat, I've commited to XXX with the wrong name/email again -- Nicolas Mailhot