错误原因: git 客户端缓存了错误的密码,账号密码和本地存储的混淆,不正确;一般是多个git 账号会导致这样的情况,如自己的git账号 和在公司的git 账号,同时一起用 简单方法: clone 时,把账号和密码带上,一起克隆,会把改账号和密码也添加到~/.git-credentials http://username:password@git.coding.net/xxxxxxxx/xxxx.git/