I'm sharing my repository on my
Linux nozim-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
and I when I run:
sudo -u git git-daemon --base-path=/home/git/repositories/ --export-all
it says:
sudo: git-daemon: command not found
What I'm missing?
In Ubuntu 12.04, the following line worked for me out of the box (execute it in the Git repository you want to share):
To clone the shared repository, use
Note that the
/
after the hostname is required.