Hacker News new | past | comments | ask | show | jobs | submit login
A git plugin for Sublime Text 2 (github.com/kemayo)
130 points by kemayo on Sept 27, 2011 | hide | past | favorite | 18 comments




Sublime Package Control is really kick-ass as well.

http://wbond.net/sublime_packages/package_control

It allows you to install, remove and manage packages from within Sublime itself


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!


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.


...and status.


The ecosystem of Sublime Text 2 is fantastic, new plugins are popping out at an impressive rate. I am switching from Textmate to ST2 and very happy with it.


Agreed. This package manager has proven very useful http://wbond.net/sublime_packages/package_control


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.


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.


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.)


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.


There is also a plugin for Mercurial which you can grab from https://github.com/SublimeText/SublimeHg or via Package Control.


I'm still going to be mostly using git from the command line, but this is wonderful for looking at diffs and logs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: