A gh extension for deleting merged local branches.
This extension checks the state of remote pull requests, so it works even when you "Squash and merge" pull requests.
gh extension install seachicken/gh-poi
gh poiDelete the merged local branches
gh poi --checkYou can check the branch to be deleted without actually deleting it
Local branch to be deleted
🗑Branches merged in the origin repository
🗑Branches merged in the upstream repository