remote: You are not allowed to push code to this project.
fatal: unable to access 'http://xxx.x.x.xxx:xxxxx/xxxx/xxxx.git/':
The requested URL returned error: 403
解决方法:重置git的认证设置
git config --system --unset credential.helper
然后在git push的时候重新输入git的账号和密码即可
备注:每次操作都输入账号密码比较麻烦,输入下面命令保存账号密码(第2次生效)
git config credential.helper 'cache --timeout=3600'