Reputation: 91
I changed around my git config user.email and git config user.name because I was testing stuff out. Now, I can push to the repo, but the commits aren't showing up on my actual github account.
From the image below, you can see that the commits look like they're from two accounts, but I am using the same username and password to make both of those commits. I think the problem is with user.email and user.name, but I am not sure.
The commits are definitely being pushed as the changes are shown on the website.
Upvotes: 1
Views: 162
Reputation: 229
If you do git log
, are the username and email exactly the same as your github?
If not, change them again with the following:
git config --global user.name yourusername
git config --global user.email [email protected]
Upvotes: 1