CmdWiz

7 Streak
Back to vault
Version Control

Git Commit

git commit -m "initial commit"

Functional Description

Records changes to the repository by creating a snapshot of the current staged changes.

CategoryGit
Difficultybeginner

Execution Recipes

Quick Commit Staged
git commit -m "feat: add login flow"

Commits everything currently staged with a single-line message.

Auto-Stage and Commit
git commit -a -m "fix: typo in README"

Stages every tracked file and commits in one step (skips new untracked files).

Official Documentation

View the technical reference