can not commit because unable to auto-detect email address

Bug #1181672 reported by Tim Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I can not do commit -a
It fails with the message
fatal: unable to auto-detect email address (got 'tim@whitlam.(none)')

the error message helpfully suggests
*** Please tell me who you are.

Run

  git config --global user.email "<email address hidden>"
  git config --global user.name "Your Name"

to set your account's default identity.

I have done these steps for my user name, but the error persists.
This happens with a new git (git init) and with cloned repositories.

Description: Ubuntu 13.04
Release: 13.04

git:
  Installed: 1:1.8.1.2-1
  Candidate: 1:1.8.1.2-1
  Version table:

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: git 1:1.8.1.2-1
Uname: Linux 3.8.13-030813-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Sun May 19 16:51:31 2013
InstallationDate: Installed on 2013-01-25 (114 days ago)
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
MarkForUpload: True
SourcePackage: git
UpgradeStatus: Upgraded to raring on 2013-03-28 (51 days ago)

Revision history for this message
Tim Richardson (tim-richardson) wrote :
Revision history for this message
Tim Richardson (tim-richardson) wrote :

PS
tim@whitlam:~/git_scratchpad$ git config --global -l
<email address hidden>
tim.name=Tim Richardson
tim@whitlam:~/git_scratchpad$

Revision history for this message
Tim Richardson (tim-richardson) wrote :

correct is
git config --global user.email "<email address hidden>"

not
git config --global you.email "<email address hidden>"

Changed in git (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.