-m, --message <message> | Use the given message as the commit message |
-a, --all | Stage all modified and deleted paths |
-am <message> | Stage all and use given text as commit message |
-v, --verbose | Show unified diff of all file changes |
-p, --patch | Use the interactive patch selection interface to chose which changes to commi |
-C, --reuse-message <commit> | Take an existing commit object, and reuse the log message and the authorship |
-c, --reedit-message <commit> | Like -C, but with -c the editor is invoked, so that the user can further edit |
--fixup <commit> | Construct a commit message for use with rebase --autosquash. The commit messa |
--squash <commit> | Construct a commit message for use with rebase --autosquash. The commit messa |
--reset-author | When used with -C/-c/--amend options, or when committing after a conflicting |
--short | When doing a dry-run, give the output in the short-format. See git-status[1] |
--branch | Show the branch and tracking info even in short-format |
--porcelain | When doing a dry-run, give the output in a porcelain-ready format. See git-st |
--long | When doing a dry-run, give the output in the long-format. Implies --dry-run |
-z, --null | When showing short or porcelain status output, print the filename verbatim an |
-F, --file <file> | Take the commit message from the given file. Use - to read the message from t |
--author <author> | Override the commit author. Specify an explicit author using the standard A U |
--date <date> | Override the author date used in the commit |
-t, --template <file> | When editing the commit message, start the editor with the contents in the gi |
-s, --signoff | Add a Signed-off-by trailer by the committer at the end of the commit log mes |
--no-signoff | Don't add a Signed-off-by trailer by the committer at the end of the commit l |
-n, --no-verify | This option bypasses the pre-commit and commit-msg hooks. See also githooks[5] |
--allow-empty | Usually recording a commit that has the exact same tree as its sole parent co |
--allow-empty-message | Like --allow-empty this command is primarily for use by foreign SCM interface |
--cleanup <mode> | This option determines how the supplied commit message should be cleaned up b |
-e, --edit | The message taken from file with -F, command line with -m, and from commit ob |
--no-edit | Use the selected commit message without launching an editor. For example, git |
--amend | Replace the tip of the current branch by creating a new commit. The recorded |
--no-post-rewrite | Bypass the post-rewrite hook |
-i, --include | Before making a commit out of staged contents so far, stage the contents of p |
-o, --only | Make a commit by taking the updated working tree contents of the paths specif |
--pathspec-from-file <file> | Pathspec is passed in instead of commandline args. If is exactly - then stand |
--pathspec-file-nul | Only meaningful with --pathspec-from-file. Pathspec elements are separated wi |
-u, --untracked-files [mode] | Show untracked files. The mode parameter is optional (defaults to all), and i |
-q, --quiet | Suppress commit summary message |
--dry-run | Do not create a commit, but show a list of paths that are to be committed, pa |
--status | Include the output of git-status[1] in the commit message template when using |
--no-status | Do not include the output of git-status[1] in the commit message template whe |
-S, --gpg-sign [keyid] | GPG-sign commits. The keyid argument is optional and defaults to the committe |
--no-gpg-sign | Dont GPG-sign commits |
-- | Do not interpret any more arguments as options |