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

3 messages from 2011-05-30 to 2011-06-03. Participants: Lucio Crusca, Erik Faye-Lund, Michael J Gruber.
Thread: https://gitlist.dev/t/27501

## Lucio Crusca, 2011-05-30 10:58

Subject: git: 'daemon' is not a git command. See 'git --help'.
Message-ID: <201105301258.08178.lucio@sulweb.org>
URL: https://gitlist.dev/e/201105301258.08178.lucio%40sulweb.org

```
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, 2011-05-30 11:27

Subject: Re: git: 'daemon' is not a git command. See 'git --help'.
Message-ID: <BANLkTim17a53hP8N-nG-Gad1oB_-g7wSfw@mail.gmail.com>
URL: https://gitlist.dev/e/BANLkTim17a53hP8N-nG-Gad1oB_-g7wSfw%40mail.gmail.com
In-Reply-To: <201105301258.08178.lucio@sulweb.org>

```
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.

```

## Michael J Gruber, 2011-06-03 11:18

Subject: Re: git: 'daemon' is not a git command. See 'git --help'.
Message-ID: <4DE8C31C.5060409@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4DE8C31C.5060409%40drmicha.warpmail.net
In-Reply-To: <BANLkTim17a53hP8N-nG-Gad1oB_-g7wSfw@mail.gmail.com>

```
Erik Faye-Lund venit, vidit, dixit 30.05.2011 13:27:
> 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

```
