I am trying to add a '.a' file in my XCode project but it is getting ignored by SVN and so I am not able to add it in the repository. Any clue what could be the reason?
You can ignore a file or directory like . gitignore. Just create a text file of list of directories/files you want to ignore and run the code below: svn propset svn:ignore -F ignorelist.
The text box “Global ignore pattern” defines what patterns you want to exclude; in my case I wanted to remove bin and obj folders, and ReSharper related files, which typically contain _ReSharper, so I added bin obj _ReSharper to the list of patterns. Et voila!
To ignore files in subversion you want to set the svn:ignore property. You can see more here http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html about half way down. svn propset svn:ignore target . svn propedit svn:ignore .
Yeah you will have to do it manually. Just navigate to it in a console and perform a svn add file_name.a and it should work.
SVN has a global ignore list. By default, it includes masks for most popular types of generated files. .a is one of those.
The ignore list is in the SVN config file, under miscellany/global-ignores. The config file is at ~/.subversion/config. It's not visible in Finder by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With