Hello,
I would like to suggest a feature to improve the functionality of the
Branch Plugin.
It would be nice to have an option to Copy or Duplicate an existing branch of a project. An example use case for this would be:
Work is being done on the project's master (main) branch. As it comes time to release the product (let's say version 2.0), a long-lived branch wants to be created to maintain the 2.0 release. This way the master (main) branch can continue with development of the next release and there is a separate branch for any potential 2.0 maintenance/bug-fix changes.
Currently, the only way to create that "release-2.0" branch is to re-perform an entire analysis on the project.
My suggestion is to add the ability to copy an existing branch (the master branch in the use case) to a new branch (the relase-2.0 branch in the use case). My expected result of the copy operation would be that there is a new branch with the same issues, measures, etc. as the source branch.
I can understand if there would need to be restrictions. Like, for example, if both the source and destination branches would both need to be long-lived branches.
Thank you