pry-github teaches Pry about GitHub. It lets you view your methods in GitHub whether. You can also open the GitHub blame view, which I think is quite nice.
A bunch of code was taken from pry-git.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install pry-github
$ pry  pry(main)> gh show Foo#bar # opens lib/foo.rb on GitHub  pry(main)> gh blame Foo#bar # opens the blame page for lib/foo.rb on GitHub
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
pry-github is licensed under the MIT License. See LICENSE for more info. (c) 2012 David Albert.