Even better than running git config
, you can edit your ~/.gitconfig
file directly. Look and see if there’s a section for [user]
with the relevant information. For example, my ~/.gitconfig
has this…
[user]
name = Bob Gilmore
email = me@mydomain.com
(There’s no space in front of the [user]
, and single tabs in front of the name and email labels)
If it doesn’t have those set properly, just go ahead and edit the .gitconfig file by hand.