【问题标题】:How to install patchutils on Windows 10如何在 Windows 10 上安装 patchutils
【发布时间】:2020-12-28 05:35:19
【问题描述】:

我已经安装了 Git 和 Git Bash。我发现仅使用 git 命令在 Git Bash 中的两个补丁文件之间创建“interdiff”很不方便。我想安装 patchutils,这样我就可以使用interdiff 命令——从而直接使用补丁文件创建 interdiffs,而无需先提交代码。

如何安装 patchutils 以便可以从 Git Bash 使用它?我试过npm install patchutils,但没有成功。

【问题讨论】:

    标签: windows git git-bash interdiff


    【解决方案1】:

    解决此问题的另一种方法是使用 MSYS2 而不是“Git Bash”。 MSYS2 有自己的 Git 包,它有一个 PatchUtils 包:

    https://packages.msys2.org/base/patchutils

    【讨论】:

      猜你喜欢
      • 2019-12-06
      • 2020-02-16
      • 2020-01-27
      • 2016-05-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多