18 comments

[ 2.8 ms ] story [ 45.6 ms ] thread
It's limited by my own preferences for how to interact with git, admittedly. I like going back down to the command line to actually commit things, so this is just handy shortcuts to common actions like log and diff viewing.

That said, if anyone feels like submitting a patch to add commands I've neglected, feel free.

I've gone ahead and added a "quick commit" command, which just lets you add and commit the current file.
Looks great. If I had the time/ability, I'd love to fork it and see commit and branching command support. Being able to commit straight from ST2 would be fantastic in terms of workflow.

Commit after each new function, perhaps even with a way to pull the text of the line you have selected into the commit automatically. Would be useful for pulling the function name into the commit.

I'm still going to be mostly using git from the command line, but this is wonderful for looking at diffs and logs.
Thanks for these po. Sublime Text is kicking major ass these days.
I just switched to it yesterday and I'm loving it. These plugins are just making it better and better!
Thank you so much for the link to the Code Intelligence package!
For Windows 7 users, the path to install it to is C:\Users\[user]\AppData\Roaming\Sublime Text 2\Packages

(Presumably, for Windows XP users, it would then be "C:\Documents and Settings\[user]\Application Data\Sublime Text 2\Packages" but I can't double-check that at the moment.)

Not sure if it relates, but another git integration plugin for Sublime: https://github.com/notanumber/gitst2
I turned it up when I was looking for a git plugin, but decided that I didn't quite like its design decisions. In Sublime it feels like doing as much as possible to take advantage of the command palette and fuzzy search is the way to go.
Somewhat related, I recently checked out the 'console' of the online editor, Cloud9 (http://c9.io/), and was amazed at the in-editor git functionality (mostly I was amazed that it worked in such an early version of the product).

I can pull/push from my repos at both Github and Heroku from within my project on c9.

I added checkout command last night. I also prefer to jump on console to do my git commands, but it's really nice that you can use Sublime's quick menu to quickly see the diff or checkout changes you've done. Well done David.