0.若是Gerrit提交使用一下命令會報錯 # git push origion master ! [remote rejected] master -> master (prohibited by Gerrit) 1.解決 # git push origion HEAD:refs/for/master