Git clone 不起作用,remote-https 不是 git 命令?

Git clone 不起作用,remote-https 不是 git 命令?

我尝试从 github 克隆一个 repo,但是 git 显示此消息:

$ git clone https://github.com/invertase/react-native-firebase-starter.git
Cloning into 'react-native-firebase-starter'...
git: 'remote-https' is not a git command. See 'git --help'.

我已经重新安装了很多次 git,但是没有用

答案1

我尝试从 GitHub 克隆一个 repo,但是 git 显示此消息:

git: 'remote-https' is not a git command. See 'git --help'.

您需要根据您自己的反馈运行正确的可执行文件,您应该调用它C:\Program Files\Git\mingw64\libexec\git-core以实现您的目标。

相关内容