I want to make a fork of a repository that has dozens of branches, but I will only use 2 branches.
I wanted to know A simple way to delete all the branches that I will not use, because I've been trying to delete them but I could not.
I know that commit history is important and that I could simply use a fork of the entire project, but it turns out that there are actually many branches and most commits in the other branches have nothing to do with the ones I will use, the commit history of these does not interest me and does not affect the branches in which I will work at all.
In addition, this project for some reason does not have a master branch, so the commit history is very different in each branch.