3 ms·
> that sounds an awful lot like something one might call a "staging" area. Not at all. When you stage something in Git, you add a snapshot of the current vers
by brmgb 8y ago
> that sounds an awful lot like something one might call a "staging" area.
Not at all. When you stage something in Git, you add a snapshot of the current version to the staging area. If you modify the file after doing "git add", the new modification will not be committed.
Reading this discussion, I think a lot of people use git with a precise workflow from which they never diverge and don't actually know the tool that well. There are plenty of very surprising design decisions in git.