Default Domain Name for Debian/Ubuntu
Submitted by Lee McLoughlin on Sun, 2008-08-03 13:22.
While setting up a Git repo on a newly installed Ubuntu laptop I found that the default Author: on commit had a domain name of '(none)'. So I set about fixing it
A little bit of digging around found that I could either manually set the email name with:
git config --global user.email you@yourdomain.example.com
or I could set it right for all future repo's with
sudo gedit /etc/mailname
and set this to everything after the @ in your email address, in my case:
lmmrtech.com
»
- Login to post comments
