How do git commit -p
in magit?
Not have this section in man page
The status buffer will show the unstaged changes. Move point to the
changes that you want to stage, and call magit-stage
(s).
If you want to stage a subset of changes within a single hunk, you can
select the lines with the region before calling magit-stage
.
See the "Staging and unstaging" section of the manual for more information.
If you want to stage lines of codes you can do magit-status
, then on one file in the list of unstaged files d, then I select the lines you want to stage, then s.