跳转到内容

mise bootstrap dotfiles conflicts

检查共享冲突的本地端和远程端

默认情况下,从此机器保存的版本到获取的仓库版本打印统一差异。--difftool 会在 Git 配置的差异工具中打开比较;当未设置 diff.tool 时,Git 会回退使用 merge.tool。此命令不会更改任一端,也不会解决冲突。

参数

  • [PATH]… — 仅检查这些存在冲突的路径

标志

  • --difftool — 在 Git 配置的差异工具或合并工具中打开比较
  • --tool <TOOL> — 使用此 Git 差异工具,而不是配置的默认工具
  • -h --help — 打印帮助

示例:

mise dot conflicts
mise dot conflicts ~/.zshrc
mise dot conflicts --difftool ~/.zshrc
mise dot conflicts --difftool --tool meld ~/.zshrc

相关文档