我想知道哪个文件svn propset svn:ignore modifies(相当于.gitignore ),以便我可以将该文件实际提交到repo。
例如,我正在使用Java和Maven ,它创建了一个名为“target”的目录,我忽略了它。 svn propset svn:ignore target . 确实有效,但我不知道该命令修改了哪个设置文件,以便将更改传播给我的团队。
相关: SVN忽略像.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.
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.
RELATED: SVN ignore like .gitignore
最满意答案
svn:ignore属性与.svn文件夹中的其他属性一起存储。 它将在您下次提交后自动存储在存储库中。 如果你只想提交svn:ignore更改而不提交其他“普通”文件,你可以尝试:
svn commit --depth=empty .可以使用svn propget svn:ignore检查svn propget 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 .The value of svn:ignore can be checked with svn propget svn:ignore.
更多推荐
发布评论