开发者

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*
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜