我可以让 TortoiseSVN 自动添加文件吗? [英] Can I have TortoiseSVN auto-add files?

查看:59
本文介绍了我可以让 TortoiseSVN 自动添加文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让 TortoiseSVN(或任何其他工具)自动将我在目录中创建的任何新 .cs 文件添加到我的工作副本,这样我就不必记住我在结束时创建了哪些文件一天?

Is there a way to have TortoiseSVN (or any other tool) auto-add any new .cs files I create within a directory to my working copy so I don't have to remember which files I created at the end of the day?

推荐答案

我可能会制作一个批处理文件,像这样(未经测试):

I would probably make a batch file, something like this (untested):

dir /b /S *.cs > allcsfiles.txt
svn add --targets allcsfiles.txt

我相信 svn 不会介意你尝试添加已经版本化的文件..

I believe svn won't mind you trying to add files which are already versioned..

无论如何,这可能是您很容易获得的自动.

Anyway, that's probably about as automatic as you will easily get.

这篇关于我可以让 TortoiseSVN 自动添加文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆