git安装后报git: ‘remote-https‘ is not a git command. See ‘git --help‘.

这篇具有很好参考价值的文章主要介绍了git安装后报git: ‘remote-https‘ is not a git command. See ‘git --help‘.。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1. 问题说明

    使用的是linux系统,采用编译安装的方式进行安装,安装完成clone项目后提示“git: ‘remote-https’ is not a git command. See ‘git --help’.”

2. 问题解决

    需要安装1个额外的库:libcurl4-openssl-dev

sudo apt-get install libcurl4-openssl-dev

    安装完成后再将git重新编译安装,然后再Clone项目,搞定!

3. 补充

    若以上方式还是不行,尝试安装curl文章来源地址https://www.toymoban.com/news/detail-768316.html

sudo apt-get install curl

到了这里,关于git安装后报git: ‘remote-https‘ is not a git command. See ‘git --help‘.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 解决git:‘remote-http‘ 不是一个 git 命令错误提示

    Jenkins使用Maven构建工程时,设置Git源码管理时报错: Failed to connect to repository : Command “/usr/local/git/bin/git ls-remote -h – http://192.168.1.35/root/javademo.git HEAD” returned status code 128: stdout: stderr: git:‘remote-http’ 不是一个 git 命令。参见 ‘git --help’。 问题分析: 安装Git时缺少curl-d

    2024年02月09日
    浏览(46)
  • 报错:git: ‘lfs‘ is not a git command.

    部分软件包会采用 git lfs 方式拉取数据,lfs 不是git 自带的option,执行时会报错误,需要额外下载安装。 参考:https://stackoverflow.com/questions/48734119/git-lfs-is-not-a-git-command-unclear GLFS: Git Large File Storage Git LFS is a command line extension and specification for managing large files with Git. The client is

    2024年02月11日
    浏览(43)
  • git: ‘lfs‘ is not a git command unclear

    首先可以尝试 git lfs install 是否可以,不可以后就看这个连接:https://stackoverflow.com/questions/48734119/git-lfs-is-not-a-git-command-unclear。 我的是ubuntu,所以: 保证这个前提: git-lfs requires git version 1.8.3.1 or later. You can check the version you have by running git --version, and update if required. 执行这个

    2024年02月09日
    浏览(44)
  • git: ‘lfs‘ is not a git command. see ‘git --help‘

    在克隆hugging face里面的项目文件的时候,需要用到git lfs,本文介绍安装git lfs方法 到这个链接里面下载最新的安装包即可 参考链接:https://stackoverflow.com/questions/48734119/git-lfs-is-not-a-git-command-unclear

    2024年02月13日
    浏览(40)
  • 无法连接仓库:Command “git ls-remote -h xxx stderr: remote: You are not allowed to download code from

    自己jenkins打包的时候,突然在设置里面报以下错误: 无法连接仓库:Command \\\"git ls-remote -h -- http://gitlab.rd.unicloud.com/unicloud/pco/uco-ui-delivery-console.git HEAD\\\" returned status code 128: stdout: stderr: remote: You are not allowed to download code from this project. fatal: unable to access \\\'http://gitlab.rd.unicloud.com/u

    2024年02月12日
    浏览(50)
  • git: ‘lfs‘ is not a git command. See ‘git --help‘的解决方案

      大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。现为CSDN博客专家、人工智能领域优质创作者。喜欢通过博客创作

    2024年02月11日
    浏览(41)
  • git 报错 protocol ‘https‘ is not supported解决

    报错原因:选择不了其他分支代码,甚至都看不到其他分支,我这边解决了两次报错,情况如下: 第一种报错: idea中刷新分支报错如下: Fetch Failed protocol \\\'\\\'https\\\' is not supported 话不多说,直接上 解决方案:  1:可以直接在idea命令窗中执行:git remote set-url origin 你的url 2.然后

    2024年02月06日
    浏览(49)
  • NPM安装后报错:ERROR: npm v10.2.1 is known not to run on Node.js v10.24.1.

    NPM卸载高版本后安装低版本运行报错: 删除目录 C:UsersAdministratorAppDataRoaming 下的 npm 和 npm-cache 目录后重新安装。

    2024年02月03日
    浏览(52)
  • git clone 报错:fatal: Unencrypted HTTP is not supported for GitLab. Ensure the repository remote URL i

     git版本问题,是当前版本过高,要求使用https协议,需要根据需要安装指定版本。遇到这个问题时我的git版本是:  需要安装指定版本。

    2024年02月11日
    浏览(37)
  • 【问题】‘git‘ is not recognized as an internal or external command, operable program or batch file.

    如果未安装\\\"git\\\",则需要安装git,安装时选择\\\"从Windows命令提示符使用Git\\\"选项. 如果安装了\\\"git\\\",但仍然会出现\\\"git未被识别为内部或外部命令\\\"错误,则需要将PATH变量设置为指向git可执行文件.为此,请按照以下步骤操作: 打开我的电脑,右键单击并选择属性 单击\\\"高级系统设置\\\" 单击\\\"环

    2024年01月16日
    浏览(27)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包