开发者

How to ignore files in Git that are like _ReSharper

开发者 https://www.devze.com 2023-04-07 13:40 出处:网络
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 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

精彩评论

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

关注公众号