[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
Yuri Khan |
Subject: |
Re: VC mode and git |
Date: |
Thu, 26 Mar 2015 01:30:49 +0600 |
On Thu, Mar 26, 2015 at 1:23 AM, Alan Mackenzie <address@hidden> wrote:
>> […] with the index, I can do all of these things as soon as I
>> feel the need. Then I call up the Magit status buffer which shows me
>> all unstaged changes. I go over them and stage only those that I want
>> to put in a single commit, e.g. all the spelling fixes. I make a
>> commit, then repeat with the reduced set of changes. With a single
>> key, I can stage all changes, or all changes to a single file, or an
>> individual hunk, or a selected region.
>
> Isn't this what branches are meant to be for?
Yes, the final result that I want is a set of unrelated series of
commits. The difference is how I arrive at that result.
Traditionally, one creates a branch, makes those and only those
modifications that are meant for that branch, commits, repeats until
ready.
Branch switching in Git is lightweight. But doing all modifications in
a single working copy avoids even that.
Of course, it only scales up to a certain extent. Too many unrelated
modifications become difficult to separate.
- Re: VC mode and git, (continued)
- Re: VC mode and git, Stefan Monnier, 2015/03/25
- Re: VC mode and git, Steinar Bang, 2015/03/25
- Re: VC mode and git, Stefan Monnier, 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Alan Mackenzie, 2015/03/25
- Re: VC mode and git, Yuri Khan, 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Yuri Khan, 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Alan Mackenzie, 2015/03/25
- Re: VC mode and git,
Yuri Khan <=
- Re: VC mode and git, Steinar Bang, 2015/03/25
- Re: VC mode and git, Stefan Monnier, 2015/03/25
- Re: VC mode and git, David Caldwell, 2015/03/25
- Re: VC mode and git, Lars Brinkhoff, 2015/03/25
- Re: VC mode and git, Alan Mackenzie, 2015/03/25
- Re: VC mode and git, Sergey Organov, 2015/03/25
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Steinar Bang, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/25
- Re: VC mode and git, Steinar Bang, 2015/03/25