C#C
C#3y ago
langelescu

✅ How to "rename" Git remote branch?

On <remote> I have a Product/develop branch which I want renamed to Product/x_develop. Then I want to take the Product/y_develop, also on <remote> and rename to Product/develop. Both branches will continue to be in used. Product/develop will host the future development while 'Product/x_develop' will only be used for service packs.

x/develop has service pack branches x.y, x.z, etc.

What's the best way to go about this without breaking anything?
Was this page helpful?