GitNifty
    Preparing search index...

    Type Alias PushFlag

    PushFlag:
        | "--force"
        | "--force-with-lease"
        | "--tags"
        | "--follow-tags"
        | "--set-upstream"
        | "--dry-run"
        | "--delete"
        | "--all"

    Flags available for the git push command.

    These flags modify the behavior of pushing commits to a remote repository.

    • --force: Forces the push, overwriting remote history.
    • --force-with-lease: Forces push only if remote hasn’t been updated.
    • --tags: Push all tags to the remote.
    • --follow-tags: Push annotated tags associated with commits.
    • --set-upstream: Sets upstream (tracking) for the branch.
    • --dry-run: Simulates push without making changes.
    • --delete: Deletes the specified branch from the remote.
    • --all: Pushes all branches.