📸 git commit

Commit files to a repository

How might you preview or try a commit before making it official?

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

Questions? Let's chat

Open Discord