[英]Publish only certain git branches
I am developing an Index and we are using Git. 我正在开发索引,我们正在使用Git。 Amont many reasons is to use the ticketing system...
Amont的许多原因是使用票务系统...
Any idea? 任何想法?
Just don't push the non-public branches into a public repository. 只是不要将非公共分支推入公共存储库。 For the others, that should have access to your private branches I recommend to create a second bare repository, to that only you and the others have access to, for example within your local network.
对于其他人,应该可以访问您的私有分支,我建议创建第二个裸仓库,以便只有您和其他人才能访问(例如在本地网络中)。 Another solution is, that they directly add your workcopy as remote repository.
另一个解决方案是,他们直接将您的工作副本添加为远程存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.