Complete the command to create a new commit with a message.
git commit -m "[1]"
The -m option lets you add a commit message directly. A good message briefly explains the change, like "Fix typo in README".
Complete the command to add all changed files before committing.
git [1] .The git add . command stages all changed files in the current folder for the next commit.
Fix the error in the commit message command by filling the blank.
git commit -m [1]The commit message must be inside quotes. Without quotes, the shell treats words as separate commands, causing errors.
Fill both blanks to write a commit message that starts with a capital letter and is under 50 characters.
git commit -m "[1] [2]"
A good commit message starts with a capital verb and is short. "Fix typo" is clear and concise.
Fill all three blanks to write a commit message with a capital verb, a short description, and a reference to an issue number.
git commit -m "[1] [2] #[3]"
This message starts with a capital verb 'Add', describes the change 'login', and references issue number 42 with '#42'.