Reputation: 3320
I'm new to Bitbucket. I've few merged branches in remote and I need to rename these with issue's name. Is there any way to rename these. While searching, I found a hack but I think deleting the branch and pushing it back is neither a good practice nor efficient since I've large number of branches that need to be rename. Any appreciation will be appreciated.Thank you
Upvotes: 4
Views: 3163
Reputation: 970
Remember, branches are only labels on commits.
Therefore, if you change a lot of branches on local and then push them to server, nothing but the labels are transmitted.
If you have a lot of branches to rename, just create any sort of script to deal with the creation of new, pushing, deletion of old on remote, deletion of old on local...
Upvotes: 1