how can I delete all of my local branch in git code example
Example 1: git branch delete all local branches
// hard delete
git branch -D $(git branch)
Example 2: git delete all local branches
git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D