threads / discuss / 27501

git: 'daemon' is not a git command. See 'git --help'.

Subject: git: 'daemon' is not a git command. See 'git --help'.

## tl;dr

3 messages between May 30, 2011 and Jun 3, 2011.

replies: 2people: 3as markdown or json

Lucio Crusca· May 30, 2011, 10:58 UTC · lore
Hi *,

I'm very new to git and I'm trying to share a git repo on a Centos 5.6 server. I've installaed git 1.7.4.1 with yum (I already had the epel repo setup). git init, add, commit work as expected, but when I

# touch .git/git-daemon-export-ok
and
# git daemon
I get:
git: 'daemon' is not a git command. See 'git --help'.

And no git-daemon file can be found in /usr (find /usr -name git-daemon). Google seems to be aware of this problem only about msysGit (windows).

What am I doing wrong?
Please CC me as I'm not subscribed, thanks.
Lucio.
Erik Faye-Lund· May 30, 2011, 11:27 UTC · re: Lucio Crusca · lore

Re: git: 'daemon' is not a git command. See 'git --help'.

On Mon, May 30, 2011 at 12:58 PM, Lucio Crusca <lucio@sulweb.org> wrote:
Show 20 quoted lines
> Hi *,
>
> I'm very new to git and I'm trying to share a git repo on a Centos 5.6 server.
> I've installaed git 1.7.4.1 with yum (I already had the epel repo setup).
> git init, add, commit work as expected, but when I
>
> # touch .git/git-daemon-export-ok
>
> and
>
> # git daemon
>
> I get:
>
> git: 'daemon' is not a git command. See 'git --help'.
>
> And no git-daemon file can be found in /usr (find /usr -name git-daemon). Google
> seems to be aware of this problem only about msysGit (windows).
>
> What am I doing wrong?

A quick google search tells me that git-daemon is a separate package for Red Hat.

Michael J Gruber· Jun 3, 2011, 11:18 UTC · re: Erik Faye-Lund · lore

Re: git: 'daemon' is not a git command. See 'git --help'.

Erik Faye-Lund venit, vidit, dixit 30.05.2011 13:27:
Show 24 quoted lines
> On Mon, May 30, 2011 at 12:58 PM, Lucio Crusca <lucio@sulweb.org> wrote:
>> Hi *,
>>
>> I'm very new to git and I'm trying to share a git repo on a Centos 5.6 server.
>> I've installaed git 1.7.4.1 with yum (I already had the epel repo setup).
>> git init, add, commit work as expected, but when I
>>
>> # touch .git/git-daemon-export-ok
>>
>> and
>>
>> # git daemon
>>
>> I get:
>>
>> git: 'daemon' is not a git command. See 'git --help'.
>>
>> And no git-daemon file can be found in /usr (find /usr -name git-daemon). Google
>> seems to be aware of this problem only about msysGit (windows).
>>
>> What am I doing wrong?
> 
> A quick google search tells me that git-daemon is a separate package
> for Red Hat.
For future reference:
yum provides '*/git-daemon'
gives you the package providing that file.
Michael

← back to recent threads