Visual studio 2013 github 同步错误 403
Visual studio 2013 github sync error 403
我收到错误 403:
An error occurred. Detailed message: Response status code does not indicate success: 403 (Forbidden).
尝试使用 visual studio 团队资源管理器推送或同步未同步的提交时。
例如,当使用命令行或 sourcetree 时,一切正常。有没有人以前遇到过这个错误并找到了解决方法?
我没有使用 ssh。
谢谢!
在这里找到了答案。从列表中删除了 github 帐户,接下来 Vs 要求提供凭据...
TFS 2013 Git push VS 2017 Forbidden error-403
unable to access. requested url returned error: 403
我在尝试将我的本地 git 存储库推送到本地 TFS 2013 服务器时遇到此错误。我从 VS 2017 和命令行得到了同样的错误。
在花了很多时间研究全局配置设置后,我发现
issue is caused by internal proxy server.
已从 Windows 凭据管理器中清除 git 凭据(如 中所述)。
但是问题还是没有解决。所以我在 (Only use a proxy for certain git urls/domains?)
中提到的环境变量中添加了 NO_PROXY
NO_PROXY
my_internal_tfs,localhost,127.0.0.1
这很有效。确保在更改环境变量后关闭并重新打开 Visual studio 或命令提示符。
下面是我找到的一些关于 git 凭据管理器的有用链接。希望这可能对某人有帮助。
https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
https://github.com/Microsoft/Git-Credential-Manager-for-Windows
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/blob/master/Docs/Faq.md#q-i-thought-microsoft-was-maintaining-this-why-does-the-gcm-not-work-as-expected-with-tfs
我收到错误 403:
An error occurred. Detailed message: Response status code does not indicate success: 403 (Forbidden).
尝试使用 visual studio 团队资源管理器推送或同步未同步的提交时。
例如,当使用命令行或 sourcetree 时,一切正常。有没有人以前遇到过这个错误并找到了解决方法?
我没有使用 ssh。
谢谢!
在这里找到了答案。从列表中删除了 github 帐户,接下来 Vs 要求提供凭据...
TFS 2013 Git push VS 2017 Forbidden error-403
unable to access. requested url returned error: 403
我在尝试将我的本地 git 存储库推送到本地 TFS 2013 服务器时遇到此错误。我从 VS 2017 和命令行得到了同样的错误。
在花了很多时间研究全局配置设置后,我发现
issue is caused by internal proxy server.
已从 Windows 凭据管理器中清除 git 凭据(如 中所述)。
但是问题还是没有解决。所以我在 (Only use a proxy for certain git urls/domains?)
中提到的环境变量中添加了 NO_PROXYNO_PROXY
my_internal_tfs,localhost,127.0.0.1
这很有效。确保在更改环境变量后关闭并重新打开 Visual studio 或命令提示符。
下面是我找到的一些关于 git 凭据管理器的有用链接。希望这可能对某人有帮助。
https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
https://github.com/Microsoft/Git-Credential-Manager-for-Windows
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/blob/master/Docs/Faq.md#q-i-thought-microsoft-was-maintaining-this-why-does-the-gcm-not-work-as-expected-with-tfs