gh poi
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.
Installation
gh extension install seachicken/gh-poi
Usage
gh poi
Delete the merged local branchesgh poi --check
You 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