@@ -377,8 +377,46 @@ export extern "git diff" [
377377export extern "git commit" [
378378 -- all(-a) # automatically stage all modified and deleted files
379379 -- amend # amend the previous commit rather than adding a new one
380- -- message(-m) # specify the commit message rather than opening an editor
380+ -- message(-m): string # specify the commit message rather than opening an editor
381381 -- no-edit # don't edit the commit message (useful with --amend)
382+ -- reuse-message(-C) : string # reuse the message from a previous commit
383+ -- reedit-message(-c) : string # reuse and edit message from a commit
384+ -- fixup : string # create a fixup/amend commit
385+ -- squash : string # squash commit for autosquash rebase
386+ -- reset-author # reset author information
387+ -- short # short-format output for dry-run
388+ -- branch # show branch info in short-format
389+ -- porcelain # porcelain-ready format for dry-run
390+ -- long # long-format output for dry-run
391+ -- null(-z) # use NUL instead of LF in output
392+ -- file(-F) : string # read commit message from file
393+ -- author : string # override commit author
394+ -- date : string # override author date
395+ -- template(-t) : string # use commit message template file
396+ -- signoff(-s) # add Signed-off-by trailer
397+ -- no-signoff # do not add Signed-off-by trailer
398+ -- trailer : string # add trailer to commit message
399+ -- no-verify(-n) # bypass pre-commit and commit-msg hooks
400+ -- verify # do not bypass pre-commit and commit-msg hooks
401+ -- allow-empty # allow commit with no changes
402+ -- allow-empty-message # allow commit with empty message
403+ -- cleanup : string # cleanup commit message
404+ -- edit(-e) # edit commit message
405+ -- no-edit # do not edit commit message
406+ -- amend # amend previous commit
407+ -- include(-i) # include given paths in commit
408+ -- only(-o) # commit only specified paths
409+ -- pathspec-from-file : string # read pathspec from file
410+ -- pathspec-file-nul # use NUL character for pathspec file
411+ -- untracked-files(-u) : string # show untracked files
412+ -- verbose(-v) # show diff in commit message template
413+ -- quiet(-q) # suppress commit summary
414+ -- dry-run # show paths to be committed without committing
415+ -- status # include git-status output in commit message
416+ -- no-status # do not include git-status output
417+ -- gpg-sign(-S) :string # GPG-sign commit
418+ -- no-gpg-sign # do not GPG-sign commit
419+ ... pathspec : string # commit files matching pathspec
382420]
383421
384422# List commits
0 commit comments