emacs-devel
[Top][All Lists]
Advanced

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

Re: VC mode and git


From: Steinar Bang
Subject: Re: VC mode and git
Date: Wed, 25 Mar 2015 21:46:19 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt)

>>>>> Alan Mackenzie <address@hidden>:

>> However, 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?

Actually that sounds like what I do to get multiple commits on the same
branch.

I like to commit what logically belongs together and makes sensible
diffs with a sensible context, when following it later, typically from a
git blame.

Magit and the index, makes what Yuri describes, easy to do.




reply via email to

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