Horje
how to delete all branches in git except master Code Example
delete all local branches git
$ 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
how to delete all branches in git except master
$ git branch | grep -v '^*' | xargs git branch -D




Shell

Related
git checkout previous commit Code Example git checkout previous commit Code Example
kubectl for windows Code Example kubectl for windows Code Example
push empty git commit Code Example push empty git commit Code Example
sh increment variable Code Example sh increment variable Code Example
how to install tabnine in jupyter notebook Code Example how to install tabnine in jupyter notebook Code Example

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