Skip to content

docs: git sw behavior contradicts documentation? #1548

@arxanas

Description

@arxanas

Discussed in #1511

Originally posted by sergej-koscejev February 22, 2025
git branchless switch --help says:

Arguments:
  [TARGET]
          The commit or branch to check out.

          If this is not provided, then interactive commit selection starts as if `--interactive` were passed.

But git branchless switch or git sw without target seems to re-check out the current commit and not start the interactive commit selection. I have to call git sw -i for interactive selection.

Is this some misconfiguration on my side or a bug?

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