Skip to content

Adding files to .gitignore starting with # does not escape them #2395

@PlasmaHH

Description

@PlasmaHH

When in the view to stage files there is a file starting with #1 you right click and add that to ignore, it will be put verbatim into the .gitignore file, but since the # is used as a comment char there it needs to be escaped as \#.

Footnotes

  1. Yeah, some programs create such files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions