问题
i wonder where gitosis stores the working copies of my repositories. I can see the filetree with the gitweb interface but cant find any working copy in /srv/gitosis/repositories/testrepo. Iam also able to push and clone to the repo.
But how can i manage to write my deploy-script without knowing the path of the working copy?
回答1:
gitosis stores repositories bare, that is, without a working directory at all. You will have to clone /srv/gitosis/repositories/testrepo
somewhere else for deployment.
来源:https://stackoverflow.com/questions/4308128/where-does-gitosis-store-the-working-copies