News for hackers. Stuff that matters.
Re:Git tips to stop you getting fired by zem on Monday April 08, 2013 @04:40PM (#5514416)
i mostly use the cli, but i use a gui (git-cola) for interactively committing only part of the current diff. it's way better than git add --interactive. also gitk is nicer than tig, though tig is easier to use when sshed into another server.
Re:Git tips to stop you getting fired by adimitrov on Monday April 08, 2013 @05:02PM (#5514591)
Incremental (interactive) commits are probably best done from within your editor. I use fugitive [1] for Vim, there's magit [2] for Emacs, and probably a plugin for your favorite IDE, or ST2.

[1] https://github.com/tpope/vim-fugitive/tpope/vim-fugitive

[2] http://www.emacswiki.org/emacs/Magit

Re:Git tips to stop you getting fired by zem on Tuesday April 09, 2013 @03:33PM (#5520599)
what does fugitive do for interactive commits that beats git-cola? i love vim for single-file things, but once it comes to a global project view i usually prefer to use another tool.
Re:Git tips to stop you getting fired by adimitrov on Wednesday April 10, 2013 @11:54AM (#5525894)
I have never use git-cola, so I can't compare, but for an overview of fugitive's features, you should probably look into the Vimcasts on that subject. There's overall five videos, this one is the first:

http://vimcasts.org/episodes/fugitive-vim---a-complement-to-...