Re:Purposes, Concepts, Misfits, and a Redesign of Git
by qznc on Saturday October 01, 2016 @05:41AM
(#12617202)
The staging area is finer than files. It is more like a diff, where you can change parts of a file.
For example, I usually use git-add -p to put my changes in staging without the debug print statements. I still want to keep them in my working copy.
A staging area is just a list of things to commit. There are many ways to make lists. I personally use emacs because direct manipulation rocks. Complaining about a change in one way to make lists is silly—gitless introduces much more powerful basic mechanisms like uncommitted branching, and lists belong on top of these more powerful basic features; not underneath like in the traditional porcelain.