How to remove a bunch of unnecessary branches in the GitHub repository?

There's an old project where I had broken features and fixes on separate branches in the backlog, and then just margil them locally without a Pull Request in github. Now in the repository a bunch of branches, from which it is necessary to get rid of. How? Make a bunch of PR in hindsight?
March 19th 20 at 08:24
1 answer
March 19th 20 at 08:26
Now in a repository of a bunch of branches, from which it is necessary to get rid of. How?

git push <remote> :<branch-name is the 1-to-delete> :<branch-name-2-to-delete> ...
It's like something is stupid, no? It is possible somehow more... declarative, in the hair dryer-Shuya or something... to Remove the branches anyone can, and I want smart to fix their mistakes. - Hobart commented on March 19th 20 at 08:29
It's like something is stupid, no?

@Hobart, no.

It is possible somehow more... declarative, in the hair dryer-Shuya

If you have cheap, and not to go, then add in the question tag "Feng Shui" and put the tag "git". - ima.Swaniaws commented on March 19th 20 at 08:32

Find more questions by tags BranchingGitHubGit