gpt4 book ai didi

windows - Git Windows 安装程序不允许我选择安装位置

转载 作者:行者123 更新时间:2023-12-04 07:44:21 26 4
gpt4 key购买 nike

我正在尝试使用来自 https://git-scm.com/downloads 的 Windows 安装程序安装 git (我有 Windows 10)。当我尝试安装 Git 时,我得到 unable to get system config 然后我得到 "C:\Users\Me\Appdata\Local\Temp\is-VML96.tmp\git-config- get.txt”

这很奇怪,但是如果我点击 okay 通过这两个按钮,它会带我进入标准安装设置,如下所示:

enter image description here

现在,如果我点击 next,它应该会带我到这个屏幕:

enter image description here

问题是我从来没有看到这个屏幕来选择我想安装 git 的位置。我从来没有看到上面的这个屏幕,我的电脑试图将它安装到我保留的系统上,它只有 100Mb。

我尝试过多个不同版本的 git。

是什么导致 git 不允许我选择安装位置?

最佳答案

如果您从命令行运行安装可执行文件并传递 /help,您将获得可以运行的附加命令列表。您需要的是:

/DIR="x:\dirname"

这是可用参数的列表:

enter image description here

关于windows - Git Windows 安装程序不允许我选择安装位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67272330/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com