Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PlasmaHH opened this issue Dec 19, 2024 · 0 comments
Open

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

PlasmaHH opened this issue Dec 19, 2024 · 0 comments

Comments

@PlasmaHH
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant