svn:ignore修改哪个文件? [英] Which file does svn:ignore modify?

查看:133
本文介绍了svn:ignore修改哪个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道哪个文件svn propset svn:ignore进行了修改(等同于.gitignore),以便实际上可以将该文件提交到存储库中.

I would like to know which file svn propset svn:ignore modifies (equivalent to .gitignore) so that I can actually commit that file to the repo.

例如我正在使用JavaMaven,这将创建一个名为"target"的目录,而我忽略了该目录. svn propset svn:ignore target .确实可以工作,但是我不知道该命令会修改哪个设置文件,以便将更改传播给我的团队.

E.g. I am working with Java and Maven, which creates a directory named "target", which I am ignoring. svn propset svn:ignore target . does work but I don't know which settings file is modifies by that command so that I propagate the change to my team.

相关:像.gitignore一样的SVN忽略

推荐答案

svn:ignore属性与其他属性一起存储在.svn文件夹中.下次提交后,它将自动存储在资源库中.如果您只想提交svn:ignore更改而不提交其他普通"文件,则可以尝试:

svn:ignore property is stored together with other properties inside the .svn folder. It will be stored in the repository automatically after your next commit. If you want to commit only svn:ignore change without commiting other "normal" files you can try:

svn commit --depth=empty .

可以使用svn propget svn:ignore检查svn:ignore的值.

这篇关于svn:ignore修改哪个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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