Skip to content

Pycharm logs and GitHub repository shows old login when I try to commit #22677

Discussion options

You must be logged in to vote

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:

  1. 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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants