Skip to content
Clean up merged branches with one command
Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
git-cleanup
installer.sh
license
readme.md

readme.md

git-cleanup

Clean up merged branches with one command

Install

curl -L https://raw.githubusercontent.com/johnsylvain/git-cleanup/master/installer.sh | sudo sh

Usage

Run in your project directory.

git cleanup

Options

You have the option to ignore branches (specified with a comma seperated list under the -i flag). master and dev branches are automatically ignored.

git cleanup [-i <ignored branches>]
            [-h]
You can’t perform that action at this time.