Horje
git delete all branches except master Code Example
how to delete all branches except master
$ git branch | grep -v "master" | xargs git branch -D 
git delete all branches except master
git branch | grep -v "master" | xargs git branch -D
git remove all branches except master windows
git branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ }
Source: dev.to
Remove all your local git branches but keep master
git branch | grep -v “master” | xargs git branch -D
Source: dev.to
how to delete all branches in git except master
$ git branch | grep -v '^*' | xargs git branch -D




Shell

Related
mac kill port 8000 Code Example mac kill port 8000 Code Example
mac install gpg Code Example mac install gpg Code Example
vim plug Code Example vim plug Code Example
django knox install Code Example django knox install Code Example
apt install gnome desktop Code Example apt install gnome desktop Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15