Skip to content

Unable to force delete local branch #23

@jovnc

Description

@jovnc

rs.git.branch("VWX", delete=True, force=True) doesn't work as expected, doesn't delete the local branch correctly

Branches before: ['TEST', 'VWX', 'main']
{'set_upstream': False, 'force': False, 'all': False, 'tags': False}
Branches after: ['TEST', 'VWX', 'main']

Hypothesis: When both delete=True and force=True, it should use -D instead of just --delete

Need to investigate root cause further.

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