← All writing

Git: delete all local branches except main

git branch | grep -v "main" | xargs git branch -D