How do I ignore files in certain SVN directories so they stay unchanged?

Use propset on a directory to set svn:ignore, which can be abbreviated as ps.

Ignore .class files in the current directory:

svn propset svn:ignore *.class .

Author: Tang Moying

Source: /en/post/svn-ignore

License: this article is shared under "CC BY 4.0". Please credit the author and link back to the original when republishing.