1

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?.

gavv
  • 4,649
  • 1
  • 23
  • 40
Faisal
  • 139
  • 2
  • 10

1 Answers1

1

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.)

Community
  • 1
  • 1
gavv
  • 4,649
  • 1
  • 23
  • 40