mezis / git-whistles

A set of bells and whistles for your Git.
Other
64 stars 15 forks source link

git-explore [-r ref] [-p path] #28

Closed pedrocunha closed 10 years ago

pedrocunha commented 10 years ago

This command enables opening the github UI to display the supplied branch and path.

By default goes to the root of the current branch.

This can be very useful to:

Etc.. The possibilities are loads!

mezis commented 10 years ago

Couple of comments on style, otherwise great :+1:

pedrocunha commented 10 years ago

@mezis Updated! :)

mezis commented 10 years ago

That was fast :) Tell me if you want me to test it locally, otherwise good to merge !

pedrocunha commented 10 years ago

I've tested it under ruby 1.8 and ruby 1.9, especially on our main web app and this repo. As long github doesn't change the way to do things, this should work np. I could also not think of any edge cases at this point. GH handles well the references and when the path is folder or a file which is superb.

pedrocunha commented 10 years ago

:+1: