Weecology's WikiComputingGit TipsGit TipsDeleting all merged branches (locally)git switch main git branch --merged | egrep -v "(^\*|master|main|dev)" | xargs git branch -d Source: https://stackoverflow.com/a/6127884/133513Last updated on 2024-05-05← Collaborating Using Git & GitHub 0001-01-01GitHub Actions 0001-01-01 →