如何在sourcetree 下提交代码到gerrit上

gerrit的审核机制决定了提交到远程到代码并非远程master分支,而是/refs/for/master 分支,所以需要解决怎么在sourcetree下提交代码到/refs/for/master分支
在git代码目录下运行:git config remote.origin.push refs/heads/*:refs/for/*

原文地址:https://www.cnblogs.com/limingluzhu/p/4794577.html