GitNifty
    Preparing search index...

    Type Alias CheckoutFlag

    CheckoutFlag: "-b" | "-B" | "--detach" | "--force" | "--orphan"

    Flags available for the git checkout command.

    These flags control checkout behavior including branch creation.

    • -b: Creates a new branch and checks it out.
    • -B: Creates or resets a branch.
    • --detach: Detaches HEAD to checkout a commit.
    • --force: Forces checkout, discarding local changes.
    • --orphan: Creates a new branch with no commit history.