Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git ultiple branch delete

Open the terminal, or equivalent.
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.
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #git #ultiple #branch #delete
ADD COMMENT
Topic
Name
7+3 =