Git log does not show user name

My git log command does not show my user name. When I do git log I get:

commit c364356360035c33e5f7b596e0bfcbcaf9284252
Author: = <>
Date: Wed May 6 10:18:51 2015 +0200
  • When I do git config user.name i get =.
  • When I do git config --global user.name I get my username.

When I do git config user.name = Me and then git config user.name I still get =.

How can I solve this?

2

1 Answer

looks like in your local .git/config you have an empty user name. try to edit the file and verify if this is the case.

If you don't see there your name/email in the local repo try to add --local to your config when setting the username/email

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like