Hacker News new | ask | show | jobs
by tobidobi 4343 days ago
Oh, or try staging parts of a file on the command line... http://git-tower.com/help/mac/working-copy/stage-changes
1 comments

git add -p, although its main problem is that you can only select chunks, not separate lines. Actually I see that Tower has that same issue. IIRC Github for Mac allows you to select individual lines, even in the same chunk.
> git add -p, although its main problem is that you can only select chunks, not separate lines.

Typing "e" will let you edit the chunk. Then you can get as fine grained as you like.

Personally, I use Emacs and commit-patch [1].

[1] http://porkrind.org/commit-patch

you can select individual lines in Tower, as well.