gitosis在哪里存储工作副本? [英] Where does gitosis store the working copies?
本文介绍了gitosis在哪里存储工作副本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
但是,如何在不知道工作副本路径的情况下如何设置我的部署脚本?
解决方案
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在哪里存储工作副本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文