How to delete all local branches? [Git]
You can delete all local branches except current using this simple command:
git branch | grep -v '*' | xargs git branch -D
You can delete all local branches except current using this simple command:
git branch | grep -v '*' | xargs git branch -D