Re:Refactoring vs. defactoring
by chriswarbo on Wednesday October 27, 2021 @05:17PM
(#29019267)
> Tools like `git add -p` to stage partial changes in files can be useful
Magit is great for this: it shows an interactive version of `git status` (the "status buffer"), with diffs that can be expanded/contracted for each file and for each hunk; we can also selectively stage only a few lines from a hunk.
Magit is great for this: it shows an interactive version of `git status` (the "status buffer"), with diffs that can be expanded/contracted for each file and for each hunk; we can also selectively stage only a few lines from a hunk.