Progress:
TIER 1 · MODULE 05· Basics

git stage

A historical synonym. Same plumbing, different keystrokes.

🎯 What & why

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.

🧠 Mental model

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.

🛠️ Synopsis

git stage <args>
# == git add <args>

🎚️ Switches & options

FlagWhat it does
(see git add)Every flag of git add works here.

💡 Use cases

🧪 Examples

Stage a file.
$ git stage src/main.c
Stage everything modified or deleted, preserve untracked.
$ git stage -u
Interactive hunks.
$ git stage -p

🎓 Recommendations

🪤 Common pitfalls

🔗 Related modules

📝 Quiz

Hit each option, then Check answers. Score is recorded; Next is always open.