代碼託管在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