I'm having some problems with my global git config. Both username and email is set to blank automatically. I can't figure out if there is a pattern to this behaviour, but more often than not git tells me to set username and email when I'm trying to make a commit.
Updating using git config --global
or directly editing my .gitconfig
file both works, but after some time they disappear again.
File content before reset:
[user]
name = <name>
email = <email>
[core]
editor = atom --wait
excludesfile = /Users/christian/.gitignore_global
[pull]
rebase = false
File content after reset:
[user]
name =
email =
[core]
editor = atom --wait
excludesfile = /Users/christian/.gitignore_global
[pull]
rebase = false