Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've successfully installed Gitosis. I added a repositories to it. However the Gitosis docs are very sparse, so I have a question:

I've got a working copy of some repository on the same machine where I installed Gitosis. I'd like to be able to share this this copy directly using Gitosis. I know it's possible to just create a new repository inside Gitosis and than push all the changes that I make to the working copy to this repository using localhost as the address. However I find it a little bit inconvenient. I'd like all the changes that I do locally to be instantly visible outside. Is it possible?

share|improve this question

1 Answer 1

Ok, using a symbolic link works:

cd /home/git/repositories
ln -s /path/to/my/working/copy repository.git
chmod 755 repository.git
chown -h git:git repository.git
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.