Skip to content

Switched accounts in Github Desktop but commits are showing up as old account #22250

Discussion options

You must be logged in to vote

You’ll have to update your author email address, which Github uses to assign commits to an account. You might want to also update your author name to match. Note that you can set these globally, but you can also override the global value for a particular repository, which might be useful if you use different identities for different repositories.

docs.github.com

Setting your commit email address - GitHub Docs

You can change past commits by rewriting history. Note that this will make things complicated for anyone you have shared the repository with, they will have to manually accept the change. Depending on how many commits you want to change you might either used git rebase -i and…

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