Skip navigation.
Home
Making the world a better place through software!

Default Domain Name for Debian/Ubuntu

  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.
  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.
  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.
  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.
  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.
  • : Function split() is deprecated in /var/www/drupal-5.1/modules/filter/filter.module on line 1190.

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