Skip to content

Branch of the main branch is changed in case of the worktree #1588

@andrii0lomakin

Description

@andrii0lomakin

While working with git-machete on the worktree, I noticed that the main branch of the feature chain changed (it was checked out in a non-current directory) during the execution of the traverse command. However, it was not rolled back after execution finished, which can lead to unexpected side effects.

It would be good if traverse returned to the original branch at the end of the command execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    usabilityRelates to user experience, clarity, learning curve, reducing confusion etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions