NAME¶
hub-compare - Open a GitHub compare page in a web browser.
SYNOPSIS¶
hub compare [-u] [-b BASE] [USER]
[[START...]END]
OPTIONS¶
- -u, --url
- Print the URL instead of opening it.
- -c, --copy
- Put the URL to clipboard instead of opening it.
- -b, --base=BASE
- Base branch to compare.
- [START...]END
- Branch names, tag names, or commit SHAs specifying the range to compare.
END defaults to the current branch name.
- If a range with two dots (A..B) is given, it will be transformed
into a range with three dots.