micnews / github-compare

Compare git branches in the GitHub UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-compare

Compare git branches in the GitHub UI, instead of plain old boring git diff.

Example

$ cd some-repo
$ git checkout some-branch
$ github-compare
$ # opens browser at https://github.com/your-name/some-repo/compare/some-branch...master

Pass a branch name to the cli in order to compare with another branch than master, e.g.

$ github-compare another-branch

Feel free to create a shorter alias to make this more convenient to use, e.g. compare.

Installation

$ npm install -g github-compare

License

MIT

About

Compare git branches in the GitHub UI.


Languages

Language:JavaScript 100.0%