emacs-devel
[Top][All Lists]
Advanced

[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:03:13 +0600

On Thu, Mar 26, 2015 at 12:49 AM, Eli Zaretskii <address@hidden> wrote:
>> Without using the index, I’d have to make a conscious effort to avoid
>> mixing feature-related work with all those other good and useful
>> modifications. Make notes on a piece of paper. Finish the feature
>> work, commit, then go over the notes, do a few more commits.
>
> No, you can either:
>
>   . start a new branch, and make all the unrelated changes there, or
>
>   . stash your changes, make the unrelated changes, commit them, then
>     pop the stash and continue

Both these methods can work, but they break the flow even more than
making a note to get back to after committing.

>> Bottom line: The index allows me to do several unrelated changes in
>> the working copy, then separate them in two or more commits.
>
> There are other ways to do that without messing up your brain with the
> index.

By messing it up with other things.



reply via email to

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