/gh-poi

🧹 Safely clean up your local branches

Primary LanguageGoMIT LicenseMIT

gh poi

CI codecov

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.

demo

Installation

gh extension install seachicken/gh-poi

Usage

  • gh poi Delete the merged local branches
  • gh 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