svn:ignore修改哪个文件? [英] Which file does svn:ignore modify?
问题描述
我想知道哪个文件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.
例如我正在使用Java
和Maven
,这将创建一个名为"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.
推荐答案
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屋!