Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@Morten242

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions