我可以跟踪 Mercurial 中的最后一次拉动吗?
我最近发现了崩溃扩展,我喜欢它。我可以经常工作和提交,当我完成工作时,我可以将修订折叠到一个逻辑变更集中。一个大的变更集而不是许多小变更集使历史变得更加清晰。
有时我不知道可以折叠哪些修订(您永远不应该折叠非本地的修订)。是否有任何工具可以帮助我跟踪哪些修订来自拉取或不同的存储库?这也有助于变基。
I've recently discovered the collapse extension and I love it. I can work and commit often, and when I'm done with my work I can collapse revisions into one logical changeset. One big changeset instead of many small ones makes the history a lot cleaner.
Sometimes I lose track of which revisions I can collapse (you should never collapse a revision that isn't local). Are there any tools to help me track which revisions came from a pull or a different repo? This would also help with rebase.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每次拉取时,您都可以创建一个本地标签 (
hg tag -l -rtip LASTREMOTE
)。但这是一个手动过程,您可能会忘记这样做。在这种情况下,您可以使用
hg out
。You could make a local tag (
hg tag -l -r tip LASTREMOTE
) every time you pull.But this is a manual process and you can forget to do it. In this case you can use
hg out
.