Skip to main content
2 of 3
Active reading. Removed meta information (this belongs in comments).
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

I had the same problem and discovered also that I had not committed any file, so when I tried to commit again, I got this error message:

*** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'USER@WINDOWS-HE6I2CL.(none)') 

Then all I did was add my email and name globally and then committed again:

git commit -m 'Initial commit' 

Then pushed

git push -u origin master 
samezedi
  • 631
  • 6
  • 15