mercurial - Revert for mercurial 上的通用无备份

标签 mercurial

如何进行全局设置,使 revert 命令忽略备份创建?

最佳答案

您可以在 .hgrc 中创建别名

[alias]
revert = revert --no-backup

# or better make another name for this command
drop = revert --no-backup    

关于mercurial - Revert for mercurial 上的通用无备份,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5415607/

相关文章:

version-control - 如何使用 SSH 设置 Netbeans、Mercurial 和 BitBucket

version-control - 如果移动操作不正确,则会在HG中恢复历史记录

mercurial - Mercurial中如何重复 merge 分支

version-control - 显示 Mercurial 推/拉的进度

mercurial - 1.4.3 版中的 Mercurial 有什么问题?

search - 如何使用乌龟 git 搜索工具?

eclipse - 在 Eclipse 中重新连接 Mercurial 控制的项目

Mercurial 空操作 merge 以保留历史并关闭分支

encryption - 在提交时加密添加到 Mercurial 存储库的文件

mercurial - 修改推送提交的提交消息。 ( Mercurial )