Skip to content

Delete fails if remote doesn't exist #82

@dermojo

Description

@dermojo

I have configured deleteRemote = true in my gitconfig for various branch types.
When working with multiple people on the same branch or when merging via web UI (we're using GitLab), I have to delete the local topic branch afterwards. A normal "git flow delete" fails because it tries to delete the remote, which doesn't exist.

Suggested fix: check if the remote branch exists before trying to delete it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions