git HTTP代理服务器配置
来源:互联网 发布:js 图片预览插件 编辑:程序博客网 时间:2024/06/06 05:41
1.用git命令直接配置http.proxy代理
[CentOS7@user1 ~]$git config --global http.proxy http://user1:password@192.168.122.33:3128[CentOS7@user1 ~]$git config --global https.proxy http://user1:password@192.168.122.33:3128
2.上述命令实际将代理服务器写入了此文件中
[CentOS7@user1 ~]$cat ~/.gitconfig [http] proxy = http://user1:password@192.168.122.33:3128[https] proxy = http://user1:password@192.168.122.33:3128
3.测试,代理可用
[CentOS7@user1 bundle]$ git clone --recursive 'https://github.com/fatih/vim-go.git' \> '/home/user1/.vim/bundle/vim-go' 正克隆到 '/home/user1/.vim/bundle/vim-go'...remote: Counting objects: 3446, done.remote: Compressing objects: 100% (15/15), done.remote: Total 3446 (delta 5), reused 0 (delta 0), pack-reused 3429接收对象中: 100% (3446/3446), 670.13 KiB | 30.00 KiB/s, done.处理 delta 中: 100% (1822/1822), done.
0 0
- git HTTP代理服务器配置
- Nginx 作为Http代理服务器配置
- Nginx 作为Http代理服务器配置
- Nginx 作为Http代理服务器配置
- 如何让 Git 使用 HTTP 代理服务器
- 如何让 Git 使用 HTTP 代理服务器
- 如何让 Git 使用 HTTP 代理服务器
- linux上的http代理服务器配置
- linux中为subversion配置http代理服务器
- http代理服务器
- 配置代理服务器
- NGINX 实现内部网络的HTTP代理服务器的配置
- Git使用代理服务器
- git设置代理服务器
- JAVA版 Http代理服务器
- Nginx--HTTP反向代理服务器
- http代理服务器工作步骤
- python实战--Http代理服务器
- vijos - P1732能量采集 (状态转移)
- [LeetCode] Combinations
- Linux 线程属性函数总结
- HDOJ 1050 Moving Tables(经典贪心)
- 快速创建一个express工程框架
- git HTTP代理服务器配置
- C++类的多态性分析
- 关于Android的返回键
- Segments(问题抽象与转化+暴力枚举+线段与直线判交)
- Linux 线程操作函数总结
- MSP430G2553与MSP430F5336系列单片机总结[1]——时钟说明与低功耗模式简介
- HDU 5399 Too Simple
- kernel 下载地址
- Codeforces Beta Round #1 C Ancient Berland Circus