简体   繁体   中英

Ignore changes in folder in tortoise SVN

I have folder named temp and there are some files, dynamically created with PHP system and at a midnight they are removed by CRON.

But, when I do something with my project, there will be some files and when I complete my work, then I want to commit changes but not files in this folder. Reason: it may (and will) cause errors on other computers, where is the same project.

I tried to add this folder to ignore list from context menu, but whoever will update to latest version of project, his temp will be removed. How can I prevent from this?

Since all files in the folder are auto-generated, I recommend leaving the folder itself, but using svn rm on any files within the folder. Then, set the svn:ignore property on the temp folder itself to "*". This will ignore all files within the folder so they do not get added back in.

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