Skip to content

git wtremove branch parsing issue #10

@sachit-bakshi

Description

@sachit-bakshi

When I use git wtremove add_logo which was created using git wtadd add_logo I get an error:

git wtremove add_logo/
removing add_logo/
error: branch 'add/logo/' not found

The directory is deleted, but git branch still shows the add_logo branch is still shown.

I suspect the issue is the parsing, with the underscore being converted to a slash, and the trailing slash on the branch name.

Env:
Archlinux on WSL2
Fish shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions