Git · Snapshot and staging
git commit --all
Stages tracked changes and commits them in one step. New files still need git add.
Syntax
git commit --all -m "message"Example
Example
git commit --all -m "chore: update copy"
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.