博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
svn 目录清理_svn:如何清理我的存储库目录?
阅读量:2517 次
发布时间:2019-05-11

本文共 714 字,大约阅读时间需要 2 分钟。

svn 目录清理

I have a local svn repository. I work in the repository, e.g. compiling documents and building packages, and there are many useless temporary there. How can I clean it up by automatically clean these temporary files like the git clean -f in git?

我有一个本地svn存储库。 我在仓库中,如编制工作, 文档和构建的软件包,并有许多无用的临时存在。 如何通过自动清除git clean -f等这些临时文件来清理它?

svn seems has no built-in function for this. But you can remove untracked files like this:

svn似乎没有内置功能。 但是您可以删除未跟踪的文件,如下所示:

svn st | grep '^?' | awk '{print $2}' | xargs -I{} rm -rf '{}'

In the svn st command’s results, the untracked files are marked with ? at the beginning of the lines of outputs.

svn st命令的结果中,未跟踪的文件标记为? 在输出行的开头。

Answered by anonymous.
匿名回答。

翻译自:

svn 目录清理

转载地址:http://hwlwd.baihongyu.com/

你可能感兴趣的文章
window自动任务实现数据库定时备份
查看>>
Windows 7 Ultimate(旗舰版)SP1 32/64位官方原版下载(2011年5月12日更新版)
查看>>
javascript操作cookie
查看>>
深入理解HTTP协议(转)
查看>>
NHibernate讲解
查看>>
剑指offer-二叉树中和为某一值的路径
查看>>
spark算子
查看>>
(转)Linux服务器SNMP常用OID
查看>>
USB各种模式 解释
查看>>
数据访问-----ADO.NET 小结和练习
查看>>
Linux lsof详解
查看>>
子组件给父组件传数据
查看>>
unix/linux下的共享内存、信号量、队列信息管理
查看>>
Hilbert先生旅馆的故事
查看>>
采访吴岳师兄有感 by 王宇飞
查看>>
LVS简略介绍
查看>>
hdu 1021 Fibonacci Again
查看>>
JVM架构_XmnXmsXmxXss有什么区别:转
查看>>
PHPExcel 使用心得
查看>>
洛谷 P3374 【模板】树状数组 1(单点加,区间和)
查看>>