Skip to content

About

Generate GitHub comparison url.

Resources

Code of conduct

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

GhCompare

Generate GitHub compare url like this.

Installation

Add this line to your application's Gemfile:

gem install gh_compare

Usage

gh_compare -n [number]

# e.g. Generates a comparison URL from 3 commits ago to HEAD
gh_compare -n 3
gh_compare -d [from-hash],[to-hash]

# e.g. Generate a comparison URL from [from-hash] to [to-hash]
gh_compare -d c794e7718ef18011b9d96f812f62f31608deeca8,45c38cac44e96ee2545f1e70dba80b23058309bf

Development

bundle install
bundle exec rspec

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the GhCompare project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Generate GitHub comparison url.

Resources

Code of conduct

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages