Git使用点滴记录: You have no permission to access this repo.

代码托管在https://coding.net上面,之前Git用https的方式都好好的,没有出什么问题。结果今天git pull代码的时候一直提示以下信息:

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地址,终于问题搞定了,可以重新连接了。

改成

 

posted @ 2017-03-13 23:53  BobZhang  阅读(1510)  评论(0编辑  收藏  举报
Helloworld