Stage All Changes Practice
Question
Fill in the blank to stage all modified and new files at once.
Code
git add ___
Hint
The symbol for 'current directory and everything inside it' is a single dot.
Explanation
The dot . refers to the current directory. Running git add . stages all changes in the current directory and its subdirectories. This is a convenient way to stage everything at once, though you can also use git add -A for the same effect across the entire repository.
Related Resources
Related Lessons
- Git Add
Learn how to stage changes with git add.
Related Cheatsheets
- Git Cheatsheet
Quick reference for git add variations.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.