git commit

Commit files to the repository. More information: https://git-scm.com/docs/git-commit.

git commit {{[-m|--message]}} "{{message}}"

git commit {{[-F|--file]}} {{path/to/commit_message_file}}

git commit {{[-a|--all]}} {{[-m|--message]}} "{{message}}"

git commit {{[-S|--gpg-sign]}} {{key_id}} {{[-m|--message]}} "{{message}}"

git commit --amend

git commit {{path/to/file1 path/to/file2 ...}}

git commit {{[-m|--message]}} "{{message}}" --allow-empty