SVN: Ignore subfolders

不羁岁月 提交于 2019-12-03 10:04:49

Use this to ignore everything in the user_files directory:

svn propset svn:ignore '*' user_files

This sets the svn:ignore property to * on the user_files directory, which effectively causes svn to ignore every untracked file in this directory.

Then you have to commit the directory on which you set the property, and update other working copies.

.svnignore doesn't stop you from adding things - it just suppresses them being reported in svn stat. You could put /user_files in your .svnignore and then force-add the things you want to add from there.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!