Commits not showing correct users username

Whenever I am commiting any changes to any of my projects from the account with user name Ayushkumar335 , it is showing that the commit was done by rishavk1102. I dont know why it is happening so.

Github uses the author and committer mail addresses in the commit to tell who made the commit. So the first thing to check is if your email address is configured correctly, especially locally, see Setting your commit email address in Git. You can also use git log to look at the email addresses in your past commits, and check if that’s correct.

If the email address is correct and yet associated with someone else’s account it may be a matter for Github Support to resolve the conflict.

1 Like

Similar questions:

1 Like