2

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

sorin
  • 161,544
  • 178
  • 535
  • 806
Tung Doan
  • 45
  • 3

1 Answers1

1

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).

StephenKing
  • 36,187
  • 11
  • 83
  • 112
  • Thank @Stephen. I have one more question. I created a new branch. But unfortunately, I removed it with the command: "git branch -d the_local_branch". Actually, the change still appears in Gerrit UI. Now, I want to recover this branch so that I can continue to work on it. Please let me know how I can do. Thanks – Tung Doan Apr 22 '16 at 06:57
  • There is a link in the UI to checkout the change that you pushed (please familiarize a bit with Gerrit). If my answer helped, please mark it as correct using the check mark. – StephenKing Apr 22 '16 at 07:24