Complete the command to commit all changed files without staging them first.
git commit [1] -m "Update files"
The -a option tells Git to automatically stage files that have been modified and deleted before committing.
Complete the command to commit all changes with a message, skipping the staging area.
git commit [1] "Fix bug in code"
The -am option combines -a (commit all changes) and -m (commit message) in one command.
Fix the error in the command to commit all changes with a message, skipping staging.
git commit -a [1] "Add new feature"
When using -a, the commit message must be specified with -m as a separate option.
Fill both blanks to commit all changes with a message and show verbose output.
git commit [1] [2] -m "Update README"
-a stages all changes automatically, and -v shows verbose output including the diff.
Fill all three blanks to commit all changes, add a message, and sign the commit.
git commit [1] [2] [3] "Release version 1.0"
-a stages all changes, -m adds the commit message, and -s signs the commit.