The worst one I\'ve been caught by was with git submodules. I had a submodule for a project on github. The project was unmaintained, and I wanted to submit patches, but co
Publishing to public repository without realizing my git config user.name was incorrect.
That means the public repo now gets a name (and an email) I would rather not have published at all. If that repo is replicated, ... it is too late.
That is why I prefer having my user.name displayed in my git prompt shell, meaning instead of having this:
MY_HOSTNAME /c/Prog/myGitProject (master)$
I see this:
MY_HOSTNAME /c/Prog/myGitProject (master) VonC $
I know who I am from the very first command I type in this Git bash session!