Skip to content

yuzoiwasaki/sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sweep

Delete all branches except the specified branch.

Installation

go install github.com/yuzoiwasaki/sweep@latest

or

curl -fLo /usr/local/bin/sweep \
    https://github.com/yuzoiwasaki/sweep/blob/master/bin/sweep

Usage

Delete all branches except main.

sweep

Delete all branches except foo.

sweep -v foo

Delete all branches except main, foo.

sweep -v main -v foo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages