can i delete multiple git branches on command line code example
Example 1: grep remove branches
Type in git branch | grep "<pattern>" for a preview of the branches that will be deleted.
Type in git branch | grep "<pattern>" | xargs git branch -D.
Example 2: delete branches in bulk git
Type in git branch | grep "<pattern>" for a preview of the branches that will be deleted.
Type in git branch | grep "<pattern>" | xargs git branch -D.