首页
Search
1
v2ray异常错误之二
3,310 阅读
2
linux时区设置
2,698 阅读
3
DB2常用操作
2,173 阅读
4
websphere修改jvm内存xmx和xms
1,929 阅读
5
nfs客户端文件属主为nobody的现象
1,552 阅读
技术
生活
运动
游戏
电影
登录
Search
标签搜索
docker
linux
troubleshooting
nginx
secure
truenas
mysql
windows
python
esxi
docker swarm
oracle
zabbix
tomcat
blog
dsm
群晖
rpa
freenas
db
yuc
累计撰写
291
篇文章
累计收到
0
条评论
首页
栏目
技术
生活
运动
游戏
电影
页面
搜索到
1
篇与
的结果
2024-04-29
git设置代理
背景需求 github 不少仓库被墙,不管是拉取代码还是推送代码都不能正常使用,应该怎么解决呢? 代理配置 为了减少对其他仓库的影响,需求应该还包括只对 github.com 仓库配置代理,有以下几种方法: 配置一次性代理,只对当前命令生效 # git clone 一次性代理 git clone -c http.proxy="http://127.0.0.1:1087" https://github.com/ 设置全局代理,对git的所有命令生效 # 全局设置代理 git config --global http.https://github.com.proxy socks5://127.0.0.1:1086 通过文件配置全局代理 在 .ssh/config 文件中添加如下内容,如果windows下没有这个文件需要新建一下 Host github.com User yuc ProxyCommand connect -S 127.0.0.1:3128 %h %p
2024年04月29日
7 阅读
0 评论
0 点赞