git add
SafeStage changes
git add <path>
Adds changes to the next commit; -A stages everything.
Examples
git add -AStage all changes
Syntax
git add <path> | git add -A
Before you run it
Staging only.
Used when you see
Related commands
- git commitCommit
- git statusWorking tree status
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store