Where does gitosis store the working copies?

2019-07-18 12:11发布

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条回答
劫难
2楼-- · 2019-07-18 12:37

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.

查看更多
登录 后发表回答