gitopenstackgerritgit-review

How to delete a branch when using git review


I have trouble with gerrit in OpenStack and really need your help! I created a new branch and used git-review as shown in this link:

http://docs.openstack.org/infra/manual/developers.html

Now I would like to delete the branch so that it no longer displays in OpenStack review.For example, I want to remove the following link in OpenStack.

https://review.openstack.org/#/c/XXXXXXX/

Please let me know how I can do it!

Thanks


Solution

  • It's not really a branch, it's a change. You can "abandon" this change in the Gerrit UI. This is similar to closing an issue in an issue tracker (it will not be removed, but others don't see it as open for review).