Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have directory which starts with exclamation mark, like:
!test
I want to add it in gitignore, but this doesn't seem to work:
\!test
What is the correct way to do this?
你可以用反斜杠转义它 =>\!test