“子路径”究竟是如何实现的?在水银(汞)工作?
我正在阅读 Mercurial 中的 子路径,但仍然无法理解以下内容: if subpaths file没有版本控制,我应该如何至少拥有一个“主要”来源?我是否应该在我的存储库中将子路径文件与 .hgignore 等一起版本化,然后将其复制到我进行克隆的 .hg 文件夹中?
I'm reading about subpaths in mercurial, and still can't understand the following: if subpaths file isn't versioned, how am I supposed to have at least a "primary" source for this? Should I version a subpaths file inside my repo along with .hgignore and such, and just copy it to the .hg folder where I do a clone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为该网页确实非常清楚 - 仔细阅读它肯定会回答您的具体问题:
因此,您不需要将其添加到存储库,但如果客户端和服务器都启用了扩展,则该文件将在克隆/推送时创建/覆盖。
所以,不。
I think that web page is really quite clear -- it certainly answers your specific questions when read carefully:
So you don't need to add it to the repository, but if both the client and the server have enabled the extension then the file will be created/overwritten on clone/push.
So, no.