Use a file to set the svn:ignore property

  1. Create a new filter file .cvsignore like .gitignore in the project root directory.
  2. The parent directory of the resource to be filtered must be added (add) to subversion, no need to submit, just create an index
  3. Write the resources to be filtered in the subversion project into .cvsignore. Such as: target, .classpath, *.iml, etc., multiple filter conditions are separated by newlines
  4. Go to the root directory of the project and run svn propset -R svn:ignore -F .cvsignore . [-R means recursively set the properties of all directories under the target directory (.), -F means load properties from a file]

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327059605&siteId=291194637
Recommended