3 ms·
Those could be add and rm, if rm by default didn't remove the working file. Git should eliminate the following redundant naming: stage, cache, index all refer
by kazinator 3y ago
Those could be add and rm, if rm by default didn't remove the working file.
Git should eliminate the following redundant naming: stage, cache, index all refer to the same thing.
If I want to diff between the working copy and the stage, why isn't it "git diff --stage", but "git dif --cached"?
A cache is something for fast lookup; the index isn't a cache; it's the permanent record of stuff in version control that will become a commit.
When you invalidate a cache entry, the semantics is unaffected, only speed of access. Removing from a git index is semantically significant.