1、推送时报错(internal error)
暂时解决:加上–no-thin
git push --no-thin origin HEAD:refs/for/master
解释:这是遇到(unpacker error)时的解决方案,我遇到的没有找到对应的,就试了一下可以。
2、
prohibited by Gerrit: not permitted: update
remote: To push into this reference you need 'Push' rights
等报错。
解决:命令行git config remote.origin.push refs/heads/*:refs/for/*
添加本地新分支push权限