Re:Oh shit, git (2016)
by fanf2 on Wednesday May 15, 2019 @03:42AM
(#19917199)
The Emacs magit status view has an even better version of git add -p: you can hit tab to expand and collapse diffs of files and hunks in the unstaged and staged changes, selectively s (stage) or u (unstage) everything or a file or a hunk. To split a hunk, highlight the relevant part with shift+arrows then hit s or u. It’s brilliant!
[ Parent
| on HN ]
There are no comments on this comment yet.