将更改从一个 HG 存储库转发到另一个
我最近将 HG 存储库克隆到另一个存储库中,因为该项目必须稍作更改,而且我无法将其与其他代码库保留在一起。
但有些更改很常见,因此也需要在旧存储库中进行更新。
这怎么能做到呢?
我想更具体地了解:
未在提交中组合在一起的更改(我对代码文件所做的零星更改)是否可以以某种方式组合在一起并在第一个存储库(我从中克隆的存储库)中进行更新)。
如果不是,如果我将所有更改分组在同一个提交中,该怎么办?
关于处理此类案例的策略的其他建议将会很棒!
谢谢
I have recently cloned an HG repository into another one, since the project had to be slightly changed and i couldn't keep it with the other codebase.
Some changes though are common, and so needed to be updated in the older repository as well.
How can this be done?
I'd like to know more specifically:
Are changes that are not group together in a commit (sporadic changes i've made to code files) can be somehow grouped together and updated in the 1st repository (the one i cloned from).
If not, how can this be done if i make all changes grouped in the same commit?
Other recommendations for strategies for handling such cases will be great!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您到底看到了什么问题?你尝试了什么?
您能澄清一下这个问题吗,您似乎只是在寻找一种从另一个存储库中提取数据的方法,在这种情况下:
What problem are you seeing exactly? What have you tried?
Can you clarify the issue, it seems like you are just looking for a way to pull from another repo, in which case: