1 fatal: unable to access ‘XXX’: Failed to connect to www.google.com port 80 after XXX ms: Couldn’t connect to server
VPN 解决方法
- 打开 VPN。
- 在 SourceTree 中,打开 “工具” -> “选项” -> “网络” 窗口。
- 勾选 “使用自定义代理”。
- 在服务器框中输入
127.0.0.1
,在端口框中输入7890
。 - 勾选 “向 Git / Mercurial 配置文件中添加代理服务器信息”。
2 remote: Support for password authentication was removed on August 13, 2021.
- 在 Git Bash 中,输入并运行
git credential-helper-selector
。 - 使用 SourceTree 的命令行模式。
- 在 Git Credential Manager 设置中,选择
manager
,并勾选 “Always use this from now on”,以便始终使用该设置。