git commit

noun

say it: “git kuh-MIT” /ɡɪt kəˈmɪt/

The Git command that saves the staged changes as a new snapshot with a message.

What does git commit do?

git commit — Creates a commit from the changes currently in the staging area.

git commit -m "Add shopping list"

In a sentence

  • “I ran git commit -m "Add scoreboard totals" once the tests passed.”

Level: Novice · More Git terms at this level

Updated