5 ms·
Oh, or try staging parts of a file on the command line... http://git-tower.com/help/mac/working-copy/stage-changes http://git-tower.com/help/mac/working-copy/st
by tobidobi 12y ago
Oh, or try staging parts of a file on the command line... http://git-tower.com/help/mac/working-copy/stage-changes http://git-tower.com/help/mac/working-copy/stage-changes
- Cthulhu_ 12y agogit 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.
- __david__ 12y ago> 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 http://porkrind.org/commit-patch
- agos 12y agoyou can select individual lines in Tower, as well.