git: fatal unable to auto-detect email address
fatal: unable to auto-detect email address (got 'jsiddharth@TheDEN.(none)')
I ran the following,
git config --global user.email "[email protected]"
git config --global user.name "my name"
repo init -u https://example.com/platform/manifest
Make sure you should be in your home directory not in local directory. while setting your username and e-mail ID.
git config --global user.email "[email protected]"
git config --global user.name "github_username"
Then follow the procedure on GitHub.
Probably a typo mistake: set user.mail
with no e. Fix it by setting user.email
in the Global Configuration with
$ git config --global user.email "[email protected]"
Already been asked: Why Git is not allowing me to commit even after configuration?
To be sure Run:
$ git config --local -l
If git config --global user.email "[email protected]"
git config --global user.name "github_username"
Dont work like in my case, you can use:
git config --replace-all user.email "[email protected]"
git config --replace-all user.name "github_username"