首页 > git > 使用TortoiseGit时升级Git for Windows?

使用TortoiseGit时升级Git for Windows? (Upgrade Git for Windows when using TortoiseGit?)

问题

我正在使用TortoiseGit v2.8,我的Git版本是2.18.0.windows.1(根据git --version)。我想将我的Git版本升级到最新版本(v2.1),但我不确定TortoiseGit是否可以与Git for Windows的v2.21一起使用。

我想升级Git for Windows作为我想要使用的Diff工具,Beyond Compare 4似乎表明Git for Windows v2.2。

升级我的Git for Windows版本是否会干扰TortoiseGit功能?

解决方法

首先,最新的Git版本是2.21

其次,您可以简单地取消归档PortableGit-2.21.0-64-bit.7z.exe并更改TortoiseGit设置中的Git路径,以进行测试。

https://tortoisegit.org/docs/tortoisegit/images/SettingsMain.png

我怀疑它可以与Git 2.21一起使用。
如果便携式设备出现任何问题,您仍然可以使用旧的Git安装。

问题

I am using TortoiseGit v2.8, and my Git version is 2.18.0.windows.1 (according to git --version). I want to upgrade my Git version to the latest version (v2.1), but I am not sure if TortoiseGit will work with v2.21 of Git for Windows.

I want to upgrade Git for Windows as the Diff tool I want to use, Beyond Compare 4 seems to indicate Git for Windows v2.2.

Will upgrading my Git for Windows version interfere with TortoiseGit functionality?

解决方法

First, the latest Git version is 2.21

Second, you can simply unarchive PortableGit-2.21.0-64-bit.7z.exe and change the Git path within TortoiseGit settings, to test it out.

https://tortoisegit.org/docs/tortoisegit/images/SettingsMain.png

I suspect it will work just fine with Git 2.21.
And you would still have your old Git installation to fall back to if the portable one had any issue.

相似信息