Crispín Klander Crispín Klander - 1 year ago 121
Git Question

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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download