简体   繁体   中英

commiting only the property change of a folder not the modified files inside it using svn commit

hi i want to commit only the property of a folder not the locally modified files inside it.

when i am using svn commit it is commiting also the modified files.please tell me how to get

this .

thanks

If you set a property with svn propset (adding to ignore list folder /help):

svn propset svn:ignore help

You can use --depth flag when running svn commit:

svn ci --depth=immediates

This will skip modifications made in files.You can also play with other values for --depth .

UPDATE

According to docs --depth=immediates limit the scope of operation to the target and any immediate children thereof . So, it's better to use

svn ci --depth=empty modified_target_folder

which limits the scope of operation to specified target only.

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