Skip to content

Failed to clean up base config when branch was created remotely #107

@dermojo

Description

@dermojo

We often work with multiple people on the same branch, i.e. one person starts the feature branch locally and publishes it, and all others checkout the branch.
After the branch was merged (in our case remotely in GitLab), everyone deletes it locally using git treeflow feature delete NAME. Everyone except the person creating the branch sees the following error:

Deleted branch feature/NAME (no remote tracking branch found)
Warning: Failed to clean up base config: failed to unset git config gitflow.branch.feature/NAME.base: exit status 5

This isn't a problem, but can be confusing ("Was deletion successful?").
It would be nice if removing a config entry that doesn't exist wouldn't result in a warning.

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