-1

Github show my user name but it is disable. but when I commit other project there show my name. I don't know what is the issue here

enter image description here

and project not showing my account is contributor

contributor should be showing 3 but it still showing 2 not showing me

what should I do ?

Nazmul Hasan
  • 10,130
  • 7
  • 50
  • 73

2 Answers2

2

You should check your commit author name and email, which derives from your lcoal configuration user.name and user.email.

For GitHub to show your GitHub user, you need the exact name and email of your GitHub account when creating commits.

In your local repo, type:

 git log --pretty=format:"%H %an %ae %ad" --date=short

an and ae stands for author name and author email.

If you are alone working on the repo, you can amend author/email for your local commits, and then git push --force.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

Just try to access your git repo using github desktop application. And may be you are not authenticated to use that repo that's why your name is coming like that.