windows 下当git clone项目时遇上“403”

1.git clone 项目地址(注意项目地址是https协议)

  如果一直报403错误,网上找了各种办法,大部分说缓存了错误的密码导致,输入 “ git clone --global credential.helper cache " 便可以搞定,其实并卵。

  因为本人此时还可以克隆同一个coding网站上的别的项目而就是不能克隆该项目。

2.git clone http://yourname:password@(项目地址,从//以后部分,不包括//)

完美解决该问题

猜你喜欢

转载自blog.csdn.net/Prince_fmx/article/details/81148153