latest Git version requires manually setting the
user.email, if the email cannot be auto-detected.
In combination with etckeeper configured with Git, this can give an error (example bellow).
To prevent this, make sure “/etc/hosts” contains a FQDN for the current hostname of your machine.
The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using /etc/hosts, DNS, or NIS. For example, if the hostname was
“ursula”, one might have a line in /etc/hosts which reads
127.0.1.1 ursula.example.com ursula
linked bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1267564
*** Please tell me who you are.
git config --global user.email "<email address hidden>"
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