-
I'm relatively new to the My main use case for this is interactively splitting a commit into two parts:
I prepare for and choose the commit I want to submit via:
At this point I load Vim and I then:
This works really well, apart from when a hunk is not fine grained enough. i.e. I only want to unstage/stage part of a hunk. I had a search around (using the term "split a hunk") and couldn't find anything in the context of fugitive.vim (magit does have something in this space) hence the question here. Is this something that fugitive.vim could support? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Visually select the part of the hunk you want to stage and press |
Beta Was this translation helpful? Give feedback.
Visually select the part of the hunk you want to stage and press
s
or-
.