Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (19.7k points)

I just cannot commit with git on Ubuntu 14.04

Error message is

git: fatal unable to auto-detect email address (got "some wrong email")

I tried git-config with and without the --global option setting user.name and user.mail but nothing works

1 Answer

+1 vote
by (62.9k points)

Make sure that you are in the home directory and not in the 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.

Browse Categories

...