1. 在git bash中执行如下命令
1 | git config --global http.proxy http://127.0.0.1:1080 |
1 | git config --global --unset http.proxy |
2. 更改使用的vpn的端口
完成上述操作后即可安然在Git Bash中畅联Github啦。
1 | git config --global http.proxy http://127.0.0.1:1080 |
1 | git config --global --unset http.proxy |
完成上述操作后即可安然在Git Bash中畅联Github啦。
Author: Jiaqi Li
Permalink: http://example.com/2023/10/08/%E4%BF%9D%E8%AF%81%E8%BF%9E%E6%8E%A5%E4%B8%8Agithub/
License: Copyright (c) 2019 CC-BY-NC-4.0 LICENSE
Slogan: Do you believe in DESTINY?