Commit With Message Fill
Fill in the Blank Beginner
Question
Fill in the blank to commit staged changes with a message.
Code
git commit ___ "Add feature"
Hint
The flag for inline message is two characters.
Explanation
The -m flag (short for --message) lets you provide a commit message directly on the command line without opening an editor. Without -m, Git opens your default editor for the commit message.
Related Resources
Related Lessons
Related Cheatsheets
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.