gh-compare

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 5 Imported by: 0

README

gh-compare

This is a gh extension to replace the compare command in the deprecated tool, hub.

Installation

gh extension install wassimk/gh-compare

Usage

Compare the current branch against main. If this repository is a fork, it uses the upstream remote.

gh compare

Compare the current branch against another.

gh compare other_branch

Compare any two branches.

gh compare their_branch...my_branch

Compare any two commits.

gh compare 7a67154..205b073

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
git
Package git provides Git repository operations and types for the gh-compare CLI extension.
Package git provides Git repository operations and types for the gh-compare CLI extension.
github
Package github provides GitHub-specific functionality for generating compare URLs.
Package github provides GitHub-specific functionality for generating compare URLs.

Jump to

Keyboard shortcuts

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