Skip to contentSkip to conversation

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

DISCUSSION Lucio Crusca 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 12 lines · Lucio Crusca

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
Quoted 8 lines

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.

#2 lore raw

Erik Faye-Lund venit, vidit, dixit 30.05.2011 13:27:

Quoted 17 lines · Lucio Crusca
Quoted 16 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'.

Quoted 7 lines
Quoted 4 lines

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