Bash函数可以轻松地将文件添加到svn中

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Bash函数可以轻松地将文件添加到svn中相关的知识,希望对你有一定的参考价值。

Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
  1. svnadd(){
  2. svn status| awk /$@/'{print $2}'| xargs svn add
  3. }
  4.  
  5. # usage is simple
  6. svnadd(filename)

以上是关于Bash函数可以轻松地将文件添加到svn中的主要内容,如果未能解决你的问题,请参考以下文章