Where did the staging area go?
There is no git add, and why that turns out to be fine.
Written By Dustin
Last updated 31 minutes ago
TOVIO has no staging area. Your working copy is continuously snapshotted into the current change, so by the time you run tovio commit, what you edited is already there.
tovio add # exists, does nothing, and tells you soThe consequence people trip over first: tovio commit takes no path arguments. There is no tovio commit <file>. A commit is the whole working copy, every time.
What replaces the things you used staging for
Why it was removed
The staging area is a second, invisible copy of your work that can disagree with both your files and your history. Most of its uses are better served by operations on committed changes, which are visible, named, and undoable. The cost is that you commit slightly more often; the benefit is that nothing is ever hiding in an index you forgot about.