linux下载git命令
时间: 2023-08-28 09:20:37 浏览: 111
Linux中Git集中操作命令汇总
要在Linux上下载Git命令,可以使用wget命令。首先,进入你想要下载到的目录。例如,可以使用以下命令进入src目录:
cd /usr/local/src
然后,执行以下命令下载Git:
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.31.1.tar.gz --no-check-certificate
这将从指定的URL下载Git的tar.gz压缩包。使用--no-check-certificate选项可以禁用SSL证书检查,以确保下载不受证书错误的影响。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Centos7-Linux环境中下载安装Git2.3超详细图文教程(亲测有效)](https://blog.csdn.net/weixin_50094173/article/details/124756962)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文