Multiple branch renaming

b4nd0ler0 2 years ago 0

Let's say that you have a bunch of old feature branches that you want out of the way but you don't want to delete them either.

So you go one by one renaming 'feature-123' to 'old/feature-123' ... tedious.

It would be nice to be able to do that for multiple branches by adding a prefix to all of them at once or perhaps something more sophisticated with pattern matching & substitution like this SO discussion https://stackoverflow.com/questions/45118089/git-rename-multiple-branches