Skip to content

git switch should require -d or --detach for detached HEAD #1240

@smurfton

Description

@smurfton

As I said in the title. You currently don't accept -d or --detach, but git switch rejects anything that results in a detached HEAD unless -d or --detach is passed

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