Skip to content

A GitHub CLI extension to quickly open branch comparison URLs

License

Notifications You must be signed in to change notification settings

wassimk/gh-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A GitHub CLI extension to quickly open branch comparison URLs

Resources

License

Stars

Watchers

Forks

Languages