fatal: empty ident <user@server> not allowed

792 views
Skip to first unread message

elvi...@quantacn.com

unread,
Sep 1, 2011, 5:18:26 AM9/1/11
to gitolite

Hi I'm a new player for gitolite, I'd like to install gitolite by
"from-client" way I've create a user named git and created a key pair
named "id_rsa_git" and manually to add its public key into /home/
git/.ssh/authorized_keys. Then I run gl-easy-install from client. But
it says -

*** WARNING ***: looks like an upgrade... ignoring argument
'admin'
/home/git/repositories already exists
/home/git/.gitolite already exists
/home/git/.gitolite/conf already exists
/home/git/.gitolite/doc already exists
/home/git/.gitolite/keydir already exists
/home/git/.gitolite/logs already exists
/home/git/.gitolite/src already exists
/home/git/.gitolite/hooks already exists
/home/git/.gitolite/hooks/common already exists
/home/git/.gitolite/hooks/gitolite-admin already exists
copying post-update hook to gitolite-admin repo...

*** Please tell me who you are.

Run

git config --global user.email "y...@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: empty ident <git@elvis-laptop.(none)> not allowed


**ABORTED**

Please check messages above carefully, fix whatever is needed, and try
again.
Note that the problem may be on the server, not necessarily on the
client.

I've set user.email and user.name by above comments.


elvis@elvis-laptop:~/tmp/gitolite/src$ git config -l
user.email=git@elvis-laptop
user.name=git
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git://github.com/ossxp-com/gitolite.git
branch.master.remote=origin
branch.master.merge=refs/heads/master

Any idea about this? I've stuck here for days and traveled many
documents but so far it didn't work.

Sitaram Chamarty

unread,
Sep 1, 2011, 5:28:25 AM9/1/11
to elvi...@quantacn.com, gitolite
On Thu, Sep 1, 2011 at 2:48 PM, elvi...@quantacn.com
<elvi...@quantacn.com> wrote:
>
> Hi I'm a new player for gitolite, I'd like to install gitolite by
> "from-client" way I've create a user named git and created a key pair

this method is now deprecated... sorry


> *** Please tell me who you are.
>
> Run
>
>  git config --global user.email "y...@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: empty ident  <git@elvis-laptop.(none)> not allowed

I think that is pretty clear, and it is a git error not a gitolite error.

Git, from 1.7.something, started *requiring* those two config items.

Elvis Wu(吴欣濂)

unread,
Sep 1, 2011, 6:03:21 AM9/1/11
to Sitaram Chamarty, gitolite
Are you meaning the script "gl-easy-install" is now deprecated?

-----邮件原件-----
发件人: Sitaram Chamarty [mailto:sita...@gmail.com]
发送时间: Thursday, September 01, 2011 5:29 PM
收件人: Elvis Wu(吴欣濂)
抄送: gitolite
主题: Re: [gitolite] fatal: empty ident <user@server> not allowed
Reply all
Reply to author
Forward
0 new messages