How to ignore files in Git that are like _ReSharper
I want to ingore any file/folder that has:
_ReSharper
in the file or folder in my .gitignore fil开发者_JAVA百科e, is this possible?
I tried:
ReSharper
but that doesn't work.
Just add the exact name you want to the .gitignore
, in this case add
_ReSharper
_
is not a special character in .gitignore
.
I read your question as asking whether you can ignore all files and directories that contain _ReSharper
as a substring of their name, in which case you can add the following line to your .gitignore
:
*_ReSharper*
精彩评论