一、Git命令配置HTTP代理服务器

    需要使用科学上网法。

git config --global http.proxy 127.0.0.1:你的代理端口

git config --global https.proxy 127.0.0.1:你的代理端口

    取消全局的 http.proxy 配置。

git config --global --unset http.proxy

    对单个Git命令临时取消代理设置。
    以下命令只会在执行这个特定的 git clone 命令时不使用代理,而不会影响全局的代理设置。

git -c http.proxy= clone http://...

git -c http.proxy= clone https://...

二、Git-LFS安装网址

Git Large File Storage | Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.icon-default.png?t=N7T8https://git-lfs.com/

三、效果演示

    失败是因为的Ctrl+C取消了。

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐