Crispín Klander
Crispín Klander

Reputation: 87

Git commit unknown Author

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 !

enter image description here

Upvotes: 2

Views: 5031

Answers (1)

Daniel Anner
Daniel Anner

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

Related Questions