How to do backup of development branches with Gerrit?

六月ゝ 毕业季﹏ 提交于 2019-12-06 16:01:17

Have you tried the draft reference? It is useful when a code should backup, without listing it as an open patchset. Then if the code is ready it can be published. My suggestion is to avoid reviewing more then one commit. More commits/changes harder to be efficient on a review.

The simplest way to fix this is to amend the commit. This will create a new commit that can then be pushed to another branch.

git commit --amend
git push origin HEAD:refs/for/master
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!