[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc for git users.
From: |
Robert Pluim |
Subject: |
Re: vc for git users. |
Date: |
Wed, 30 Oct 2019 14:43:32 +0100 |
>>>>> On Wed, 30 Oct 2019 10:34:27 +0100, Marcin Borkowski <mbork@mbork.pl>
>>>>> said:
Marcin> On 2019-10-29, at 19:00, Steinar Bang <sb@dod.no> wrote:
>>>>>>> Dmitry Gutov <dgutov@yandex.ru>:
>>
>>> 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)
Marcin> Do you know that you can mark selected lines and stage a region,
too?
You donʼt even need to run 'd d', you can uncollapse the file diff in
the magit buffer, and do it from there.
Robert
- Re: vc for git users., (continued)
- Re: vc for git users., Ergus, 2019/10/28
- Re: vc for git users., Eli Zaretskii, 2019/10/29
- Message not available
- Re: vc for git users., Lars Magne Ingebrigtsen, 2019/10/29
- Re: vc for git users., Eli Zaretskii, 2019/10/29
- Re: vc for git users., Dmitry Gutov, 2019/10/29
- Re: vc for git users., Eli Zaretskii, 2019/10/29
- Re: vc for git users., Stefan Monnier, 2019/10/29
- Re: vc for git users., Steinar Bang, 2019/10/29
- Re: vc for git users., Štěpán Němec, 2019/10/29
- Re: vc for git users., Marcin Borkowski, 2019/10/30
- Re: vc for git users.,
Robert Pluim <=
- Message not available
- Re: vc for git users., Lars Magne Ingebrigtsen, 2019/10/29