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

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Lucio Crusca <hidden>
Date: 2016-06-15 22:51:21

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.

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

From: Erik Faye-Lund <hidden>
Date: 2016-06-15 22:51:21

On Mon, May 30, 2011 at 12:58 PM, Lucio Crusca [off-list ref] 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.

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

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:51:24

Erik Faye-Lund venit, vidit, dixit 30.05.2011 13:27:
On Mon, May 30, 2011 at 12:58 PM, Lucio Crusca [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help