本文介绍了gitosis在哪里存储工作副本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道gitosis在哪里存储我的知识库的工作副本。我可以使用gitweb接口查看文件树,但无法在/ srv / gitosis / repositories / testrepo中找到任何工作副本。 Iam也能推动和克隆回购。
但是,如何在不知道工作副本路径的情况下如何设置我的部署脚本?
解决方案gitosis存储仓库,即根本没有工作目录。您必须在其他地方克隆 / srv / gitosis / repositories / testrepo 才能部署。
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?
解决方案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.
更多推荐
gitosis在哪里存储工作副本?
发布评论