Switch branches, keep same change-set
I have a change-set in Gerrit that for a while has been based off of the master branch. So, my push commands have looked like this: git push origin HEAD:refs/for/master But now, I need to start working off of a topic branch (but still using the same change-set). So, I tried pushing like this: git push origin HEAD:refs/for/myTopicBranch But, this seems to have created a whole new change-set, rather than simply altering the metadata of my current change (as updating a topic does). Is there a way associate a change-set with a different branch after creation?
No. You can't do that. If you want to work in a different branch, push to this new branch like you have done (git push origin HEAD:refs/for/myTopicBranch) and abandon (using the Gerrit web interface) the original change.
How to setup Gerrit without any authentication?
How to start Gerrit in Windows 7 after Initialization
How do I merge Gerrit instances without losing history
Buildbot nightly build is failing to checkout the branch
Serve custom commit-msg hook from Gerrit
Customize Gerrit sign in page
Gerrit rejected push for valid LDAP member
Gerrit submit change after abandoning its parent
Gerrit - Reload Plugins to incorporate changes
Adding gerrit label, but not able to see it properly in review page
Make a list inside another list in a gerrit comment
How to assign access rights to a Gerrit project using API / SSH?
How to change a patchset and push it as a new one?
Gerrit patch comparision for Sql files
How to 'reply done' in Gerrit when I address people code review comment
How to search for changesets in Gerrit than need to be rebased?