Subversion allows the following file patterns: ?
(match single character), *
(match a string of characters) and [...]
(where ... indicates a subset of characters to match). As such you can build up your filename using items of the form [Xx]
for the upper and lower case characters.
Add a filename to svn:ignore in case insenstive manner
Question
I want to add a file to a svn:ignore
so that it is always ignored even if the filename is present in different case. How to do it?
eg:
I want to ignore the file readme.md
, even if it is present in any case like
README.md
readme.MD
Readme.md
......
.....
Solution 2
OTHER TIPS
[Rr][Ee][Aa][Dd][Mm][Ee].[Mm][Dd]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow