4

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?

4

1 回答 1

8

你可以用反斜杠转义它 =>\!test

于 2013-08-20T11:38:31.793 回答