Show HN: I made a tool to open files from git in one line. Useful? (arnorhs.com) 15 points by arnorhs 14y ago ↗ HN
[–] jarin 14y ago ↗ 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. [–] arnorhs 14y ago ↗ Ahh, awesome. Do you mind if I add that to the post and give you a shout out? [–] jarin 14y ago ↗ Hey of course, go nuts :)
[–] arnorhs 14y ago ↗ Ahh, awesome. Do you mind if I add that to the post and give you a shout out? [–] jarin 14y ago ↗ Hey of course, go nuts :)
[–] oinksoft 14y ago ↗ 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? [–] arnorhs 14y ago ↗ Honestly, I simply wasn't aware of the convention. Thanks for pointing that out.
[–] arnorhs 14y ago ↗ Honestly, I simply wasn't aware of the convention. Thanks for pointing that out.
[–] tomn 14y ago ↗ If you use vim and git, you should check out Fugitive, which adds loads of really useful Git integration into Vim:https://github.com/tpope/vim-fugitiveThe last five vimcasts go through what this plugin can do, and are really worth the time:http://vimcasts.org/episodes/archive
6 comments
[ 2.8 ms ] story [ 26.5 ms ] threadhttps://github.com/tpope/vim-fugitive
The last five vimcasts go through what this plugin can do, and are really worth the time:
http://vimcasts.org/episodes/archive