I currently have two branches, Parent(Main) and Child(Release). I need to inject a new branch between Parent and Child, making it Parent(Main), Child(Intermediate), and Grandchild(Release). I know I can accomplish this through the following steps:
Unfortunately, the branch rename process has done unexpected things in the past with change history. Is there any alternative?
Renaming is the proper way to go here and you are correct that renaming the root of a branch can cause problems in future merges. There is a good article here that describes the potential problems and how to work around them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With