git commit Commit files to a repository

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access


*Enrollment provides full access to this course (and updates) for life.

Commit staged files to a repository

command line
git commit -m "initial commit 🚀"

Tip: Add files and commit in a single command

command line
git commit -a -m "additional commit"

# or

git commit -am "additional commit"

Use git log to see the history of commits:

git log


Ask questions via GitHub below OR chat on Slack #questions