gitosis在哪里存储工作副本?

编程入门 行业动态 更新时间:2024-10-24 08:22:42
本文介绍了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在哪里存储工作副本?

本文发布于:2023-07-14 21:45:55,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:副本   工作   gitosis

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!