美文网首页
git clone 命令行使用代理参数

git clone 命令行使用代理参数

作者: 刘十九 | 来源:发表于2022-01-05 14:36 被阅读0次

网上找了一大圈,都是说要 git global config 配置代理后再 git clone ,但是我不想这么麻烦啊,有没有可以直接使用的参数呢

在查看了 git help clone 后,发现可以这样:

git clone --config http.proxy="http://127.0.0.1:7890" https://github.com/****/xxxx.git

这正是我想要的 方便快捷!

相关文章

  • Linux代理

    一、命令行代理 二、git clone 代理 设置代理 取消代理 三、pip使用国内源下载

  • git clone 命令行使用代理参数

    网上找了一大圈,都是说要 git global config 配置代理后再 git clone ,但是我不想这么麻...

  • git-cmd

    clone私有库 ref 使用命令行创建仓库 git clone https://git.dev.tencent....

  • iOS使用appledoc来创建开发文档(装逼使用)

    1:安装appledoc 使用终端下载: 命令行: git clone git://github....

  • git命令

    git命令行 git clone 用于将远端仓库拷贝到本地 ssh: git clone username@hos...

  • npm安装步骤

    打开git命令行,在github中clone下来npm的源码包git下载地址:git clone --recurs...

  • git和github初使用

    github初使用 git基本命令行参考这里 clone远程已有的仓库到本地 clone时选择ssh协议,http...

  • git clone使用代理加速

    git config --global http.proxy http://127.0.0.1:1080git c...

  • Git 基础

    git 命令行 git clone 克隆下载git checkout dev 切换分支git branch 查看...

  • Ubuntu之git配置

    安装git clone 项目 git clone xx@xxx:xxx git配置 命令行执行后生成的配置文件位于...

网友评论

      本文标题:git clone 命令行使用代理参数

      本文链接:https://www.haomeiwen.com/subject/qsahcrtx.html