​    五一节日快乐,劳动使我快乐。    今天给大家分享的是git小知识,内容不多,主要是关于git工具设置代理取消代理的方式。其实就是两行git命令,在这里记载一下,以便后面有小伙伴用到的话,对他们的学习有帮助。如果代理类型是​​socks5​​进行如下设置即可git config --global http.proxy socks5://127.0.0.1:1080git config
原创 2022-03-16 15:39:19
838阅读
如果代理类型是socks5进行如下设置即可git config --global http.proxy socks5://127.0.0.1:1080git config --global https.proxy socks5://127.0.0.1:1080如果是普通的http/https进行如下设置即可git config --global https.proxy http://127.0.0
原创 2023-03-07 00:00:30
903阅读
https://gist.github.com/laispace/666dd7b27e9116faece6
原创 2021-07-30 14:16:01
582阅读
常用的软件设置代理方法Gitgitconfig--globalhttps.proxyhttp://127.0.0.1:1080gitconfig--globalhttps.proxyhttps://127.0.0.1:1080gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxynpmconfigdeletepro
原创 2020-08-26 15:10:14
1260阅读
设置代理:前提你得有代理设置代理://http || https git config --global http.proxy 127.0.0.1:7890 git config --global https.proxy 127.0.0.1:7890 //sock5代理 git config --global http.proxy socks5 127.0.0.1:7891 git confi
git
原创 2023-12-25 14:15:26
335阅读
``` # 设置ss git config --global http.proxy 'socks5://127.0.0.1:1080' git config --global https.proxy 'socks5://127.0.0.1:1080' # 设置代理 git config --global https.proxy http://127.0.0.1:1080 git config...
原创 2021-05-14 14:37:58
277阅读
参考: https://gist.go
原创 2022-08-19 16:53:52
239阅读
在终端下编辑~/.bashrc文件:vim ~/.bashrc在文件末尾添加如下两句:export http_proxy=http://用户
原创 2022-07-26 05:52:08
2258阅读
vi ~/.zshrc #if use bash,it's bashrc# we assume you are using socks5.# if you are using http or https,it's http://127.0.0.1:12333#
原创 2022-09-19 10:06:05
2130阅读
welcome to my blog问题: 使用hexo搭建博客, 执行hexo init时包含git clone的操作,但是使用的是https协议, 不是ssh, 所以为git设置
原创 2023-01-18 00:57:45
356阅读
一些强大的命令 再分享一些可能你不知道的shell用法和脚本,简单&强大! 在阅读以下部分前,强烈建议读者打开一个shell实验,这些都不是shell教科书里的大路货哦:)!$!$是一个特殊的环境变量,它代表了上一个命令的最后一个字符串。如:你可能会这样: $mkdir mydir $mv mydir yourdir $cd yourdir 可以改成: $mkdir mydir $mv
转载 10月前
29阅读
1、一个简短的引论代理​​server​​(Proxy Server)是一种重要的server安全功能,它的工作主要在​ ​开放系统互联​​(OSI)模型的会话层,从而起到​​防火墙​​的作用。代理server大多被用来连接​​INTERNET​​(国际互联网)和INTRANET(​​局域网​​)。主要功能:就是代理网络用户去取得网络信息。形象的说,它是网络信息的中转站。本文主要介绍怎样使用jav
转载 2015-09-11 21:42:00
205阅读
2评论
设置http代理 git config --global https.proxy https://127.0.0.1:1080 取消http代理git config --global --unset http.proxy
git
原创 2024-08-15 09:48:19
80阅读
Ubuntu设置全局代理服务器和局部代理服务器
原创 2023-03-30 15:51:52
1830阅读
用过Linux的都知道,众多的PROXY配置,让人应接不暇,本文列出常见的一些PROXY的配置1.apt-get proxy 的配置sudo gedit /etc/apt/apt.conf NOTE:系统里有可能没有这个文件,直接建立一个就行输入下面的proxy的配置信息就行Acquire::htt
转载 2017-07-02 10:58:00
1135阅读
2评论
现在公司需要代理上网,ubuntu又是那么的依懒网络,前几天在公司装了ubuntu就开始查资料设置代理上网,以下整合一下,部分是参考其他网友的, 这里就不一一说明了。一、Firefox代理上网这个最简单了,依次点击 edit->preferences-> Advanced->network->settings 在里面填写代理服务器的IP,Port就可以了。二、Sy
转载 精选 2010-03-20 15:51:19
5622阅读
2点赞
1评论
设置代理 npm config set proxy=http://server:port npm config set https-proxy https://server:port // https代理设置 npm config set registry=http://registry.npmjs ...
转载 2021-08-05 10:32:00
494阅读
设置代理npm config set proxy=http://127.0.0.1:8087npm config set registry=http://registry.npmjs.org关于https经过上面设置使用
原创 2023-05-29 11:34:42
46阅读
设置淘宝镜像代理npm config set registry https://registry.npm.taobao.org取消
h
原创 2022-07-06 16:45:33
695阅读
设置代理 npm config set proxy=http://127.0.0.1:8087 npm config set registry=http://registry.npmjs.org 关于https经过上面设置使用了http开头的源,因此不需要设https_proxy了,否则还要增加一句: npm config set https-proxy http://server:port
原创 2021-09-09 14:26:08
3425阅读
  • 1
  • 2
  • 3
  • 4
  • 5