Re: [FAQ?] Rationale for git's way to manage the index
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 7, 2007, 12:16 UTC
- Message-ID
- <20070507121603.GA3255@diana.vm.bytemark.co.uk>
- In-Reply-To
- <8b65902a0705070440t40889af0p1fb8dbf7e2a072e4@mail.gmail.com>
On 2007-05-07 13:40:33 +0200, Guilhem Bonnefille wrote:
Show 6 quoted lines
> In order to improve my productivity with Git, and in order to avoid > traps around moving from SVN to Git, I often use the Git Emacs mode. > It is really usefull for beginners as it works similarly for CVS, > SVN and Git: synthetic view of all modifications, easy selection of > what will be commited... The biggest drawback of this "porcelain": > using it, you do not understand the Git's index philosophy.
git-gui is a good tool here (so good, in fact, that this is the second time today I spam the list about it). It shows very pedagogically the diff between HEAD and index, and the diff between index and working dir, and allows you to point and click your way to committing precisely the subset of changes you intended to commit. As an added bonus, it's perfectly usable even if you don't know anything about emacs.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle