Reputation: 87
I am commiting through the command line. When I commit I have to enter my username, but when I check through the browser the Author appears as unknown .. WTF !
Upvotes: 2
Views: 5031
Reputation: 112
I believe your default global username is not set, which will most certainly cause this error. Please try the following command, then make a commit and push..
git config --global user.name myname
If this works, from here on out you will be able to commit and it will show with your username. Let me know what happens so I can assist you further if you need.
Upvotes: 4