I don't want any directory named build
or dist
to go into my SVN no matter how deep in the tree it is.
Is this possible? In git I just put
build
dist
in my .gitignore
at the root and it recursively ignores. How do I do this with svn? Please don't tell me to do a propset on every parent dir...
To set your global ignore pattern (with TortoiseSVN) right click Windows Explorer –> TortoiseSVN –> Settings. Once you click on settings enter your global ignore pattern. I'm blocking everything in my bin folder, obj folder, anything that may have been named *.
As of subversion 1.8, there is now the svn:global-ignores
property which works like svn:ignore
but recursively (so set this on your top-level directory)
svn propset
takes --recursive
as an option, so you can do this, with two downsides:
svn:ignore
property whenever you add a new directoryIf 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