开启了代理,但是git仍然连接拒绝的原因: windows 中 git 默认不会使用系统代理,所以即使连接代理或者打开代理软件,浏览器仍然可以访问 GitHub 或 Gitee;但是使用 git 命令行连接 GitHub 或 Gitee 远程仓库可能会出现无法访问的现象。 解决方法:Windows、Linux、Mac OS 中 git 命令相同: 设置代理命令: 配置socks5代理 git config --global http.proxy socks5 127.0.0.1:12334 git config -…

2025年2月8日 346点热度 xxs9331 阅读全文

<!-- wp:paragraph --> <p>This message is used to verify that this feed (feedId:87394298904045568) belongs to me (userId:86967715142127616). Join me in enjoying the next generation information browser https://follow.is.</p> <!-- /wp:paragra…

2024年12月5日 287点热度 xxs9331 阅读全文

# -*- coding:UTF-8 -*- # author: # contact: # datetime: # software: PyCharm """ 文件说明: 打印工程目录文件,参考链接: https://blog.csdn.net/albertsh/article/details/77886876 """ import os import os.path def dfs_showdir(path, depth): if depth == 0: print("root:[" + path + "]") …

2024年4月11日 266点热度 xxs9527 阅读全文

什么是 host 文件: Hosts 文件主要作用是定义 IP 地址和主机名的映射关系,是一个映射 IP 地址和主机名的规定。可以用文本文件打开!当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从 Hosts 文件中寻找对应的 IP 地址,一旦找到,浏览器会立即打开对应网页,如果没有找到,则浏览器会将网址提交远程的 DNS 服务器进行 IP 地址解析。即:host 文件可以提高我们加载网页的速度。 修改 host 文件有什么用? 比如我们要把 www.xxx.com 屏蔽掉,我们只需要这样修改即可。 127…

2023年6月7日 351点热度 xxs9527 阅读全文
12