Faisal Faisal - 6 months ago 12
Linux Question

Set up Git incorrectly and committed to Github

I've made a typo when setting up my Git. Then used the incorrect setup to commit to my GitHub. latter, I realized that GitHub is not recording my commits (Not showing my profile picture on the commit and of course didn't count these commits) My question is, is there a way to tell fix this issue? So GitHub knows that they were committed by me?.


GitHub matches commit author by email, so ensure that:

  • your email is added to your github profile
  • your email is set in your local git config

If you want to change author email for exiting commits, follow this instruction.

(You can use git commit --amend for single commit or git filter-branch for multiple commits. See details in this question.)