GitNifty
    Preparing search index...

    Type Alias CommitFlag

    CommitFlag:
        | "--amend"
        | "--no-edit"
        | "--allow-empty"
        | "--no-verify"
        | "--signoff"
        | "--verbose"

    Represents valid flags for the git commit command.

    These flags modify commit behavior, such as bypassing hooks, allowing empty commits, or including staged changes only.

    • --amend: Modify the last commit.
    • --no-edit: Reuse the previous commit message.
    • --allow-empty: Create a commit even if there are no changes.
    • --no-verify: Skip pre-commit and commit-msg hooks.
    • --signoff: Add a Signed-off-by line at the end of the commit message.
    • --verbose: Show unified diff in the commit message editor.