Pycharm logs and GitHub repository shows old login when I try to commit #22677
-
Hello! I’ve deleted an old github account completely and created a new one.
and this is my old account name that i have successfully deleted. Can you please help me with this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Git records an author name and email address whenever you make a commit. That is configured locally, so maybe the data there is still from when you were using your old account? Here’s the Git Book section on how to configure your identity, that should do what you need in principle. Two Github-specific notes, though:
|
Beta Was this translation helpful? Give feedback.
Git records an author name and email address whenever you make a commit. That is configured locally, so maybe the data there is still from when you were using your old account? Here’s the Git Book section on how to configure your identity, that should do what you need in principle.
Two Github-specific notes, though:
Github uses the author email to detect that you made the commit and connect it to your account. If you want that (I assume you do), you need to either use an email address that’s on your account, or if you want to keep your address private you can use a Github-provided no-reply address, see About commit email addresses. If Github recognizes the address it always shows your u…