h5bp/lazyweb-requests

`git browse` commands for opening relevant github pages

paulirish opened this issue · 8 comments

  • git browse issues inside a repo opens the issues page for that project
  • git browse opens the main project page
  • git browse commits opens /commits/master
  • git browse commits featurebranch opens /commits/featurebranch

And maybe some syntax to point to the last commit committed.. git browse commits HEAD^1 or whatever?

schacon's git-pulls project actually has git pulls browse 17 which does the pull request side of this. and uses the github API. quite lovely.

https://github.com/schacon/git-pulls/blob/master/lib/git-pulls.rb

http://thechangelog.com/post/2878756980/git-pulls-command-line-tool-for-github-pull-requests

git-friendly captures the most important feature of this i think... https://github.com/jamiew/git-friendly

Have you seen http://github,com/defunkt/hub - it does most of this.

The Git plugin for Vim, Fugitive, also does this.

Github's hub has all of this: https://github.com/github/hub#git-browse. @paulirish Can we close this issue?

Hub ftw

git open

It works. oh yeah.

https://github.com/paulirish/git-open/

git open2015-01-24 13_51_18

So that's basically the git browse command from hub pulled out to its own script?

@stuartpb i think its even less sophisticated. This project is only for people that aren't using gh or hub.