Hey everyone,
I have a question about version control and creating branches. Is it possible to create a custom branch based on another custom branch, and not just from the main branch?
I feel like you can only create new branches from the main branch, and not from other custom branches. I’m not talking about child branches of a custom branch but rather a separate custom branch based on another custom branch.
We need to maintain two versions of our app as reference points, but we don’t want them to be child branches. We already have one version that was created a year ago, and now we need to create a new one. For organizational purposes, we need to give the old branch a new name, but that’s not possible—we can only edit its description. So, our solution is to create a new custom branch that allows us to change both the name and the description. Is there a way to create this new branch based on the first custom branch?
These branches are used to maintain backups of old app versions for internal comparison when adding new features. They help us show our progress internally.
Essentially, this is what I want to achieve:
├── main
│ ├── initial-savepoint
│ ├── renamed-savepoint
│ ├── follow-up-savepoint
│ └── ...
The initial-savepoint branch should be deleted, and a new renamed-savepoint branch should be created based on the initial-savepoint branch. This new branch should have the same content as the initial-savepoint branch, but with a different name and description.
If anyone has a solution or an alternative method, please let me know. Thank you!