Re:A work-in-progress Magit clone for Neovim
by NateEag on Thursday July 08, 2021 @08:18AM
(#27770965)
`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.
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.