Skip to content

Pre-push hook getting error when local main branch is deleted #1344

@shawnthye

Description

@shawnthye

Description

On pre-push

Getting this error when my local doesn't have the main branch, how can I switch this to origin/main ?

Image

lefthook.yml

Commands to reproduce

export LEFTHOOK_VERBOSE=true

Lefthook version

Possible solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions