Can't commit git? Git doesn't recognize my gitconfig?

So every time I want to commit to my branch, it tells me to add an email address and a name to my gitconfig to identify myself, but… I already did that! It's all there. …So why doesn't it work?

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
julihan41
1 year ago

You forgot that-global. That means your config only applies to the Git repo in which you defined it.

julihan41
1 year ago
Reply to  MossadTe

Okay, I didn’t know that. I just see what it says.

There’s something about “can’t automatically recognize the email address” and then …@….(none). Do you have a typo?

julihan41
1 year ago

Apparently, the email address and device name are not set correctly. At least this is my guess, otherwise the error message would not come.