How to delete git branches in batches in Linux system

  
                

If you create a lot of branches when using git under Linux, and then do not need to use it, it is best to delete the git branch, how to delete the git branch in batches when the number is large?

branch bulk delete method:

git branch

Copyright © Windows knowledge All Rights Reserved