简体   繁体   English

git:“remote-https”不是 git 命令。 参见“git --help”

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

I have been trying to clone my repository and it shows the following error:- git: 'remote-https' is not a git command.我一直在尝试克隆我的存储库,它显示以下错误:- git:'remote-https' 不是 git 命令。 See 'git --help'参见“git --help”

Here is my:- Clone from这是我的:- 克隆自

https://github.com/NavyaThakur/django-project1

To directory到目录

C:\Users\91933\github\django-project1

I tried reinstalling github desktop but no use.我尝试重新安装 github 桌面但没有用。 Please help me through this请帮我解决这个问题

Try git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY尝试git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY

so for you git clone https://github.com/NavyaThakur/django-project1所以对你git clone https://github.com/NavyaThakur/django-project1

Git Clone Documentation Git 克隆文档

This error means your git executable was not built with ssl and/or libcurl.此错误意味着您的 git 可执行文件不是使用 ssl 和/或 libcurl 构建的。

From experience this seems to be a problem on some RedHat based distributions.根据经验,这似乎是某些基于 RedHat 的发行版的问题。

If you have admin access just make use you install the correct git client.如果您有管理员权限,只需使用您安装正确的 git 客户端。 If not you will have to build git yourself or install from a repository into your user account (both of which are not trivial, sorry)如果不是,您将不得不自己构建 git 或从存储库安装到您的用户帐户(这两者都不是微不足道的,抱歉)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM