使用 https 方式 clone,服务器端一直返回 403

image.png

如果使用 https 方式 clone,服务器端一直返回 403 并且客户端不提示输入密码,则有可能是 git 客户端缓存了错误的密码,请清除已保存的密码

Mac 用户请依次输入

$ git credential-osxkeychain erase
host=git.coding.net
protocol=https
[按回车]

参考:https://coding.net/help/faq/git/git.html#Clone

你可能感兴趣的:(使用 https 方式 clone,服务器端一直返回 403)