How To Commit with Git
1 min read

Add File

You can either add single files or all files that have been modified at the same time.

# Single Files
git add <filename1> <filename2>

# All Files
git add .

Commit Message

You always have to specify a short message for each commit.

git commit -m "This is the commit message"