Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 798 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 798 Bytes

git-prune

build git-prune-ver pythonver license

Clean up your local git branches to match the remote with one command. This tool checks your remote location for current branches, compares this list against the local git branches, and gives you the option to remove all orphaned local branches.

Installation

pip3 install git-prune

Usage

git-prune -- Prunes local branches in the current working directory.

git-prune -d /Path/to/repository -- Prunes local branches in the provided directory.