Gerrit使用总结 Gerrit常见命令及最佳实践 sourceTree+gerrit管理代码 Push to gerrit using SourceTree I believe the answer provided by atlassian says to change the name of the remote branch when you see the Push dialog. Open the push dialog Click on the remote branch name under the "Remote Branch" column (mine is presently 'master') Type in the new remo branch name - which would be 'refs/for/master' for me Click OK. This appears to have properly pushed the commits into Gerrit for me. The problem I have now is that the 'refs/for/master' value doesn't persist. Now to figure that out. I will update this post once I've figured that out. Hope this helps even tho it's late to the game. Update: it turns out that you need to add a push entry under remote origin in the .git/config. You should do this via the git config command (tho i did edit the file manually i'm sure that's bad practice). the push line i wrote is: push = refs/heads/*:refs/for/* for clarity h...