Is it possible to stage the current hunk or selected lines of the hunk in diff-mode
?
For example, when in diff-mode
, what command can I run to stage the current hunk?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityIs it possible to stage the current hunk or selected lines of the hunk in diff-mode
?
For example, when in diff-mode
, what command can I run to stage the current hunk?
No.
But maybe diff-mode
itself can.
diff-mode
all the commands containing the word "stage" are from magit, so I assumed regular diff mode couldn't do this.
Jun 20, 2020 at 21:36