same

command module
v0.0.0-...-90729d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL