A historical synonym. Same plumbing, different keystrokes.
An older, less-used alias for git add. Same plumbing. Same semantics. Different keystrokes. Documented for completeness; you'll mostly see it in scripts written before add won the popularity contest.
Identical to git add. Whatever add does, stage does. There is no separate stage command in the source — it's literally the same code path.
git stage <args>
# == git add <args>| Flag | What it does |
|---|---|
(see git add) | Every flag of git add works here. |
git stage.stage is a more intuitive verb).$ git stage src/main.c$ git stage -u$ git stage -pgit add. Everyone reads it the same way; tooling and articles assume it.git stage into new scripts. It's an alias, not a feature.stage to something else.add; if you read about stage, double-check it's the same Git you're running.Hit each option, then Check answers. Score is recorded; Next is always open.