6 comments

[ 2.8 ms ] story [ 26.5 ms ] thread
Very handy. Also, you can do something like this:

    git config --global alias.open '!sh ~/gitopen.sh'
Which lets you invoke it like:

    git open diff master
Edit: Alternately, if you save the file somewhere in your path as "git-open", you can run it with "git open" as well.
Ahh, awesome. Do you mind if I add that to the post and give you a shout out?
Hey of course, go nuts :)
Looks neat. I'm just curious, what is the motivation for naming this `gitopen` rather than `git-open`, which allows `git open` with no configuration?
Honestly, I simply wasn't aware of the convention. Thanks for pointing that out.