简体   繁体   中英

SVN: Keep Folder; Ignore Content

Folks,

How can I permanently ignore the content of a folder with SVN? I have a "build" folder, but as I add new source libraries, etc., new content gets created, the I have to manually go and add to ignore list. In git is easy to do, but I can't find a way to automate it on SVN

Use the svn:ignore property to ignore the build folder entirely. Execute this command in the same folder that the "build" folder is in:

svn propset svn:ignore build .

Then commit the change.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM