代理
git config --global --list | grep proxy
# 设置代理
git config --global http.proxy "http://127.0.0.1:7890"
git config --global https.proxy "https://127.0.0.1:7890"
# 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
推荐
tig
git的tui,在不用vscode的图形界面也不错,按h就有够用的帮助文档。
精通Git(第2版)Soctt Chacon Ben Straub
gcm
git credential manager多用户:查了文档之后,排除了.gitconfig 文件,最后是在 控制面板—-用户账户—Windows管理凭据里删除了多余的账号 参考