gh-poi
GitHub CLI extension to safely clean up local branches.
0 members list gh-poi, unchanged over the last 12 weeks, data as of 26 November 2026
Members who list gh-poi in their Stack, by week.
Members who list gh-poi
Be the first to add gh-poi
Nobody on Stackness runs gh-poi yet. Add it to your stack and you're the first member running it.
About gh-poi
gh-poi is a GitHub CLI extension that helps developers safely delete local Git branches. It addresses a specific problem encountered when using squash-merge workflows, where branches cannot be deleted using the standard git branch -d command because the merge history is lost. The tool determines which branches are safe to remove by querying the GitHub API to check the status of associated pull requests, allowing it to handle branches deleted through any merge method, including squash and merge. Developers can run the extension at any time to clean up their local repository without worrying about accidentally removing branches still in use.
The tool is developed by seachicken and is written in Go. It is distributed under the MIT license and functions as an extension within the GitHub CLI framework, which means users do not need to generate separate access tokens to use it.
Checked 19 November 2026.
Nobody on Stackness runs gh-poi yet.
Sign up and add it