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