Skip to content
Clear merged pull requests ref (branch) on GitHub
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

GitHub PR Cleansing

This tool is used to clear merged pull requests ref (branch) on GitHub.

GitHub has no feature to auto delete branches on pull request, and we usually forget to delete the branch manually. PR Cleansing provides a quick, easy PR clear using the CLI.



Python (both 2 or 3 should be works, hopefully)

Dependencies Installation

$ pip install -r requirements.txt


$ python

Just follow the instructions on cli. Input the GitHub username, password, target user/ organization, target repository. This tool will automatically clean your beloved repository for you.

You can’t perform that action at this time.