I want to ignore a directory or a group of files when I run svn st
, but I don't want to set the svn:ignore
property, which means I still want the directory/files to be updated when I run svn up
. I just don't want to see the status of that folder. Can I achieve this?
您可以将想要查看其状态的文件和文件夹分组到一个changelist
,然后使用--changelist
选项将其传递给svn status
命令。
Setting svn:ignore
means that these files won't be shown at svn st
if they are not already added. If you set svn:ignore
for a specific file and add this file manually, it is under version control and svn st
will consider this file.
I don't know what you're exactly doing, but maybe you can "filter" the output of svn st
and get rid of the unwanted lines afterwards, eg using grep
on the output of svn st
.
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.