git-lfs安装及clone常见问题

这篇具有很好参考价值的文章主要介绍了git-lfs安装及clone常见问题。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1.  安装git for windows-3.20版本,报错Could not find git; can not register Git LFS。

git-lfs安装及clone常见问题

错误原因:可能这个版本有问题。参考:Could not find Git; can not register Git LFS. · Discussion #5031 · git-lfs/git-lfs · GitHub

解决方式:安装Git for Windows 2.36.1

2. 报错fatal: unable to access ‘https://github.com/.......‘: OpenSSL SSL_read: Connection was reset, 

解决方式:解除ssl验证后,再次git即可

git config --global http.sslVerify "false"

3. git clone 速度慢怎么办?

问题:github.com.cnpmjs.org镜像网站用不了,会出现错误:fatal: unable to access 'https://github.com.cnpmjs.org/...': Could not resolve host: github.com.cnpmjs.org

解决方案:控制台输入:git config --global url."https://hub.fastgit.xyz/".insteadOf https://github.com/

然后再git clone。文章来源地址https://www.toymoban.com/news/detail-405423.html

到了这里,关于git-lfs安装及clone常见问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • 有Root与无Root安装git-lfs

    先查看arm还是AMD 例如当前使用Rocky Linux 8.8版本的内核。因此,应该下载适用于Rocky Linux 8.x的Git LFS安装包。 您可以按照以下步骤在Rocky Linux上安装Git LFS: 打开终端或命令提示符窗口。 使用以下命令下载适用于Rocky Linux 8.x的Git LFS安装包: 下载安装包后,使用以下命令安装Gi

    2024年02月16日
    浏览(37)
  • centOs安装git-lfs并下载huggingface模型

    hf模型都是用git-lfs托管的,可以直接git下载的,天才第一步: 1、安装git-lfs 2、直接git clone 3、测试模型opt-1.3b

    2024年02月12日
    浏览(41)
  • 无root权限安装git-lfs(linux版)

    首先给大家看一下官方链接:安装 Git Large File Storage - GitHub 文档 git-lfs/INSTALLING.md at main · git-lfs/git-lfs (github.com) 直接用这个命令好啦~绕了一大圈 以下是手动安装 接下来是我的步骤: 首先在本地点击此链接下载:https://github.com/git-lfs/git-lfs/releases/download/v3.2.0/git-lfs-linux-amd64-

    2024年01月20日
    浏览(41)
  • linux下安装git-lfs的两种方法

    一、方法一(推荐) 首先安装git-lfs ubuntu版:  centeros版: 然后验证安装成功 若显示: 则安装成功。 二、方法二 从git官网上下载安装包后,手动解压后安装。 详细可参考: 安装 Git Large File Storage - GitHub 文档

    2024年02月07日
    浏览(29)
  • Windows 安装 pycrypto 常见问题解决

    首先pycrypto 项目已经不在更新了,自己开发可以使用cryptography、pycryptodome https://pypi.org/project/cryptography/ https://pypi.org/project/pycryptodome/ 关于python使用Crypto.Cipher模块,安装pycrypto ,ImportError: No module named \\\'Crypto\\\'  常见问题及解决方案如下:   安装VC 只要版本大于等于Microsoft Visu

    2024年02月03日
    浏览(37)
  • 关于git-lfs删除历史版本

    git lfs prune [options] Deletes local copies of LFS files which are old, thus freeing up disk space. Prune operates by enumerating all the locally stored objects, and then deleting any which are not referenced by at least ONE of the following: * the current checkout * all existing stashes * a \\\'recent branch\\\'; see \\\"Recent files\\\" * a \\\'recent commit\\\' on the cur

    2024年01月18日
    浏览(42)
  • windows10系统安装docker desktop超常见问题

    问题报错: An unexpected error was encountered while executing a WSLcommand. Common causes include access rights issues, which occurafter waking the computer or not being connected to your domain/active directory. Please try shutting WSL down (wsl --shutdown) and/or rebooting yourcomputer. If not sufficient, WSL may need to be reinstalled fully. As alas

    2024年02月11日
    浏览(45)
  • git大文件管理工具:git-lfs

    Git Large File Storage(LFS)是Git的一个扩展,它允许向Git仓库存储和管理大型二进制文件。对于软件开发中使用大型的图像、音频文件等,Git LFS非常有用。 原理:不同于git每次保存diff,对于git来说,如果是模型或者一些设计大文件,改变一点,对于仓库来说会增加很大的体积,

    2024年02月08日
    浏览(28)
  • 要Git的文件太大,如何使用Git-LFS

    问题:要Git的文件太大 解决:使用Git-LFS,LFS原理这里不详说了 版本新一点的Git已经集成了Git-LFS, 不用单独去下载 。LFS的路径就在D:Program FilesGitmingw64bin,其中D:Program FilesGit是Git的安装目录。 如何用Git-LFS clone: 1、先打开一个文件夹,d:Desktop新建文件夹,cmd进入它(那

    2024年02月10日
    浏览(30)
  • 关于git与git-lfs对文件压缩存储方面的研究

    先说结论,git使用了Delta增量压缩算法,git-lfs实测没有进行任何压缩,这个结论让我很震惊。 测试过程如下: 测试git仓库自身的压缩 准备一个包含许多杂项文件的文件夹,大概几百M,要保证有一个txt文本文件,做修改用,我们就叫这个文件夹为[数据包]。 将[数据包]压缩为

    2024年01月18日
    浏览(35)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包