今天测试环境 git pull 报406 。 经过排查 发现是 git记住的账号的密码 已修改没有同步到 测试环境 vim ~/.netrc 把密码修改正确 source ~/.netrc 希望对你有帮助