CmdID

CmdID / Commands

git-commit

Commit files to the repository. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Open an editor to write a message and commit staged files to the repository

git commitIdentify

Commit staged files to the repository with the specified message

git commit --message "message"Identify

Commit staged files with a message read from a file

git commit --file path/to/commit_message_fileIdentify

Auto stage all modified and deleted files and commit

git commit --all --message "message"Identify

Commit staged files and sign them with the specified GPG key (or the one defined in the configuration file if no key_id is specified)

git commit --gpg-sign key_id --message "message"Identify

Update the last commit by adding the currently staged changes, changing the commit's hash, and open an editor to change the message

git commit --amendIdentify

Commit only specific (already staged) files

git commit path/to/file1 path/to/file2 ...Identify

Create a commit with the specified message and description

git commit --message "message" --message "description"Identify