help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc for git users.


From: Štěpán Němec
Subject: Re: vc for git users.
Date: Tue, 29 Oct 2019 21:09:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Tue, 29 Oct 2019 19:00:17 +0100
Steinar Bang wrote:

> (last Friday I, mostly by accident, discovered that magit supports 'git
> add -p': go to the diff buffer (ie. 'd d' with the cursor on a file with
> changes) and stage the indivdual hunks https://stackoverflow.com/a/1096508)

You can (in Magit) also use region to select the parts you want to
stage; the minimal granularity is line, not hunk.

-- 
Štěpán



reply via email to

[Prev in Thread] Current Thread [Next in Thread]