Commands.app

git commit

Basic Workflow

Record changes to the repository

Options & Flags
Available options for this command
-m 'message'

Commit with inline message

-a

Automatically stage modified files

--amend

Modify the last commit

Examples
Common usage examples

Commit staged changes

git commit -m 'Add new feature'

Stage and commit modified files

git commit -am 'Fix bug'

Amend last commit

git commit --amend
Related Commands
You might also find these useful