git commit -m 'message'

Category: Git - Core

git commit -m 'message'

Commit staged changes with a message

Saves all staged changes as a permanent snapshot (commit) with a descriptive message. The commit message should explain what changed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.