4 ms·
The same type of gutter integration can also be had in Vim and Sublime Text: https://github.com/airblade/vim-gitgutter https://github.com/airblade/vim-gitgutte
by zefhous 13y ago
The same type of gutter integration can also be had in Vim and Sublime Text:
https://github.com/airblade/vim-gitgutter https://github.com/airblade/vim-gitgutter
https://github.com/jisaacks/GitGutter https://github.com/jisaacks/GitGutter
- guptaneil 13y agoTo get the rest of the git integration in Sublime Text, check out SublimeGit: https://sublimegit.net https://sublimegit.net
- dallen33 13y agoGutter integration is nice, but actually seeing different folder/file colours helps too, which you can't do in Sublime.
- shurcooL 13y agoYeah, and that part is quite nice. It may even be more useful than the gutters within files. I have to admit, in this particular sub-area, Atom has clearly done better and made ST3 look bad in comparison. This is great because it shows improvement, and I'm all for making our tools better. (I mention this because it's the first time I see Atom actually excel over ST3.)
- justinmk 13y agovim-signify[1] supports more VCSs (git, hg, bzr, svn, ...). [1] https://github.com/mhinz/vim-signify https://github.com/mhinz/vim-signify
- fafner 13y agoEmacs supports it for many different vcs' http://elpa.gnu.org/packages/diff-hl.html http://elpa.gnu.org/packages/diff-hl.html And magit is the best git integration I've seen so far: http://magit.github.io/ http://magit.github.io/
- sdegutis 13y agoSometimes I wonder how I used git before magit.
- kaonashi 13y agoI'm recent to the party. I've discovered magit-blame-mode; any other goodies I might be missing out on?
- jaseemabid 13y agoMagit can do most common actions with one or 2 strokes, like `cc` for commit, `ca` for amend etc. Push, pull fetch etc work like a breeze and wont lock up emacs till its complete. Sometimes I forget the keys, then I either enable menu bar mode to quickly look it up or switch to eshell for a while
- sdegutis 13y agoYeah, once I'm in magit-status, I type "g" for update, "fa" for fetch all, and if I need to commit, "S" to add all changes, C-u S to add all unstaged files, and using "n" and "p" to move through the list, I use "4" and "2" to toggle between showing/hiding changes per file (sometimes "3" if I want to see only part of a file's changes). When Im' done, I do "c" to type a commit message, and "cc" to commit. Often I need to fix a commit message typo, so "c" and "ca" lets me amend. Then I just type "PP" to push my changes! If I need to force-push because of an amended commit that I pushed 2 seconds ago, I'll do "P-fP". And interactive rebasing is really easy too, with "E". But yeah I've already gone on too long here.
- fafner 13y agoThe central part of magit is `magit-status'. You do most of the things from there. It even allows you to stage small parts of a diff (like git add -i) simply by selecting the part in the status view and staging it.