I need to create a fork containing only the release branch of a repo.
The repo has hundreds feature / hotfix branches.
How can I select with branch(es) should be present in the fork ?
I tried creating a fork before but by default all branches are copied.
Deleting a single branch using git push --delete branch takes 3 seconds per branch.
In github there is an option to only fork the master branch. That is more or less what I'm looking for.
G'day, @ccenvcvb
Currently, Bitbucket Cloud does not support the ability to fork specific branches. However, I am interested to understand the reason you require this ability so I can create a feature request.
Having said that, technically if you forked a repo you can bulk any branch you don't want by navigating to the branch tab > click the "..." and select Delete multiple. This will allow you to select multiple branches and delete them in a much quicker way.
Regards,
Syahrul
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.