Skip to content
/ same Public

CLI utility for listing branches different to master

License

Notifications You must be signed in to change notification settings

jameshiew/same

Repository files navigation

same

same lists Git branches which have an empty diff against the master branch.

This includes branches which may have at one point been different to master, but have since had the master branch merged in or have otherwise "caught up".

Installation

go install github.com/jameshiew/same

Usage

Useful for piping into xargs for executing further Git commands e.g.

Show branches with no diff

same | xargs git show-branch

Delete branches with no diff

same | xargs git branch -D

About

CLI utility for listing branches different to master

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published