git - 如何在 Windows 10 上安装旧版本的 Git

标签 git windows-10

我需要从 git 版本 2.14.2 降级到版本 2.8.1。我试过从 this link 下载 2.8.1 文件,但实际上我不确定如何安装它们。关于是否需要卸载当前的 git 版本,在我的谷歌搜索中似乎也有相互矛盾的答案。请让我知道我应该怎么做才能降级 git 版本。我正在使用 Windows 10。

最佳答案

您可以在 Releases section of the repository on GitHub 中获取以前版本的 Windows 版 Git 安装程序。 .

在您的特定情况下,卸载您拥有的当前版本,然后安装您可以从此处下载的 2.8.1 版:

https://github.com/git-for-windows/git/releases/tag/v2.8.1.windows.1

Git for Windows v2.8.1

或者,您也可以使用可移植版本(无需卸载您拥有的其他版本),但使用安装程序安装/卸载 Git for Windows 非常快捷,以后您可以随时升级到更新版本以相同的方式使用较新的安装程序。

关于git - 如何在 Windows 10 上安装旧版本的 Git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48331404/

相关文章:

c# - 为 .NET 解决方案设置 Git 存储库

eclipse - egit 替换单个文件 - git 索引中的 HEAD 修订与文件

linux - 安装 Windows 10 后如何安装 grub

windows-10 - 什么是 Windows 10 中的受管端口排除?

Windows Defender - 以编程方式添加排除文件夹

linux - 在 windows 和 raspberry pi 上连接本地 git repos

git - 这条消息是什么意思?不止一个分支.<name>.remote

git-svn 具有基于文件的存储库访问权限

javascript - 您可以在 Windows 10 上使用 JavaScript 在 Edge 和 IE11 中检测到 "Tablet Mode"吗?

wifi - 在 Windows 10 中启用/禁用热点虚拟 Wifi 时出错