You are not logged in.

#1 2013-05-19 12:08:09

timrichardson
Member
Registered: 2013-02-12
Posts: 10

[SOLVED] git 'fatal: empty ident name not allowed'

I've done this:

$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "your_email@youremail.com"

but I can not commit anything.

If I make a new repository with git init, touch a file and then do

git commit -a

I get this:

** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  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 (got 'tim@newton.(none)')


Additional info including version

[tim@newton git_scratchpad]$ git config -l
tim.email=tim@timrich.org
tim.name=Tim Richardson
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true

[tim@newton ~]$ git --version
git version 1.8.2.3

Last edited by timrichardson (2013-05-19 12:31:49)

Offline

#2 2013-05-19 12:30:49

timrichardson
Member
Registered: 2013-02-12
Posts: 10

Re: [SOLVED] git 'fatal: empty ident name not allowed'

solved.

correct is

git config --global user.email tim@timrich.org

not

git config --global tim.email tim@timrich.org

Offline

#3 2013-05-19 13:27:33

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] git 'fatal: empty ident name not allowed'

You might want to obfuscate your email id.

Offline

Board footer

Powered by FluxBB