Skip to content

Tab expansion starting with '#' needs to be escaped #293

Description

@Morten242

When using tab-expansion on branch-names, if they start with '#' then it, and the rest of the line will get ignored by powershell since '#' marks the start of a line comment. Escaping it with ` does help though, e.g.:

git checkout#1-branch-name
`

This is only necessary when the name starts with the pound-sign though, as names like feature/#1-branch-name works fine without any escaping.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions