Thuta Learning
Git
BasicDevOps & ToolsBeginner

git commit

GitLesson 8

git commit is the command used to permanently save the changes in the Staging Area to your local repository. Every commit comes with a unique ID and the message you wrote for it.

bash
# Commit staged changes with a message
git commit -m "Add initial project files"
You should see
(The changes in the staging area are saved into the repository as a new "save point")

Updated on

Progress is saved only in this browser on this device. It isn't synced to other devices.

Report a problem with this lessonOpens your email app with this lesson's address filled in — nothing is sent until you send it.

git commit | Thuta Learning