4 ms·
`git add -p` is nice, but Magit's UI is superior, IMO. I don't know a way to stage individual lines from a given hunk separately in Git's interactive add, but
by NateEag 5y ago
`git add -p` is nice, but Magit's UI is superior, IMO.
I don't know a way to stage individual lines from a given hunk separately in Git's interactive add, but in Magit's that's easy - just select the line you want and press s.
I've even occasionally staged part of a line via selection, when I've actually had two distinct bugfixes on the same line.
- scooble 5y agoIirc you can edit the patch in git add -p. So fine editing is possible.