In Git, if I have a project with lots of projects inside, let's suppose, a lot of Java projects, I can just create a .gitignore
file in the root and it will "be respected" in the entire repository.
How can I do this for an SVN project?
For example, how can I make an "svn ignore" setup (via cmd line) for a .gitignore
like the following?
*.class
*.jar
*.war
*.ear
target/
.classpath
.settings/
.project
.metadata
bin/
The most important part of the question: How can I make it work to new folders inside the root? Example:
I ran svn propset svn:ignore "*.class" . -R
in my root and commit. Ok:
root
- folder1/
-- *.class (ignored)
-- other files (ok)
- folder2/
-- *.class (ignored)
-- other files (ok)
Now, I create folder 3. The previous svn:ignore
settings will not apply, right? Is there a way to make it so?