Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git rbanch multiple delet

Deleting Multiple Branches in Git

1. Open the terminal, or equivalent.
2. Type in git branch | grep "<pattern>" for a preview of the branches that will be deleted.
3. Type in git branch | grep "<pattern>" | xargs git branch -D.
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #git #rbanch #multiple #delet
ADD COMMENT
Topic
Name
9+1 =