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: Marcin Borkowski
Subject: Re: vc for git users.
Date: Wed, 30 Oct 2019 10:34:27 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2019-10-29, at 19:00, Steinar Bang <address@hidden> wrote:

>>>>>> Dmitry Gutov <address@hidden>:
>
>> I don't think it's fair. Git provides good tools. Just the other day I
>> was thinking of how to commit only a part of changes in a file. Git
>> makes it easy with 'git add -p', using the staging area.
>
> (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)

Do you know that you can mark selected lines and stage a region, too?

Best,

--
Marcin Borkowski
http://mbork.pl



reply via email to

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