0

I've made a terrible mistake. Looking back on my git commits, it seems that somehow I've managed to get some incorrect data on each of them.

My git commits, rather than looking like this username<email@address> look like username<mypassword>. How can I fix this for future commits? I will scrap the password but there it doesn't seem right to continue pushing with this message.

My git email is set to my email address, they're not set to the password. Anyone have any ideas?

4

1 回答 1

1

我怀疑你的 git config 设置不当。尝试运行:

git config user.name
git config user.email

或者找到.gitconfig 看看那里有什么。您可以覆盖

git config --global user.email "notmypassword@address"
于 2013-04-30T20:00:15.683 回答