GitNifty
    Preparing search index...

    Type Alias ResetFlag

    ResetFlag:
        | "--soft"
        | "--mixed"
        | "--hard"
        | "--merge"
        | "--keep"
        | "--quiet"
        | "--verbose"

    Defines the available flags for the git reset command.

    These flags control how Git modifies the index and working directory when resetting to a specific commit.

    • --soft: Moves HEAD and keeps all changes staged.
    • --mixed: Resets index but not the working directory (default).
    • --hard: Resets index and working directory (⚠ destructive).
    • --merge: Resets while preserving uncommitted merge changes.
    • --keep: Similar to merge, but keeps local modifications.
    • --quiet: Suppresses output messages during reset.
    • --verbose: Outputs additional information during reset.