remote: Coding.net Tips : [You have no permission to access this repo.]
fatal: unable to access ‘https://git.coding.net/xxxxxxxx/xxxx.git/‘: The requested URL returned error: 403git
git 客戶端緩存了錯誤的密碼,帳號密碼和本地存儲的混淆,不正確;通常是多個git 帳號會致使這樣的狀況,如本身的git帳號 和在公司的git 帳號,同時一塊兒用windows
clone 時,把帳號和密碼帶上,一塊兒克隆,會把改帳號和密碼也添加到~/.git-credentials緩存
http://yourname:password@git.coding.net/xxxxxxxx/xxxx.git/this
windows /Users/xxx/.gitconfig 打開 .gitconfig 直接修改文件
mac 輸入命令行 git config –list 會出來 credential.helper=osxkeychain , 對應的也就是Mac的「鑰匙串」系統,咱們能夠經過Mac系統菜單頁面「其餘->鑰匙串訪問」功能,搜索git關鍵字查看spa
用帶着用戶名和密碼的方法來clone注意: 密碼中不可包括@ 或 : 字符.net