代码托管在https://coding.net上面,以前Git用https的方式都好好的,没有出什么问题。结果今天git pull代码的时候一直提示如下信息:html
remote: Coding.net Tips : [You have no permission to access this repo.] fatal: unable to access 'https://git.coding.net/xxx/xxx.git/': The requested URL returned error: 403
整了各类方案,都不行,最后按照ssh的方法(coding.net上面的教程)从新配置一遍。而后修改项目下面.git/config中url参数修改为新的ssh地址,终于问题搞定了,能够从新链接了。git
改为ssh