【问题标题】:In magit, how do I close all diffs when using merge preview?在 magit 中,使用合并预览时如何关闭所有差异?
【发布时间】:2018-12-18 23:21:31
【问题描述】:

使用 magit 时,我可以使用命令 m p 预览合并。

这将显示打开的文件差异列表。我可以通过导航到该行并按 Tab 来单独关闭每一个。

是否可以同时关闭缓冲区中的所有差异?

对我来说,更有用的是关闭所有冲突,但有冲突的除外。

【问题讨论】:

    标签: git emacs magit


    【解决方案1】:

    要“关闭所有差异”,您只需要 M-1,它在整个 Magit 中都可以将当前缓冲区中的部分折叠到顶层。

    参考https://magit.vc/manual/magit/Section-Visibility.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-03-03
      • 1970-01-01
      • 1970-01-01
      • 2011-08-14
      • 2012-04-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多