svn:ignore 不忽略 xcuserdata [英] svn:ignore not ignoring xcuserdata

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

问题描述

我是第一次使用 svn:ignore 属性,所以我可能会误解一些东西.

I am using the svn:ignore property for the first time, so I may be misunderstanding something.

我正在开发一个 iOS 应用程序.我有一个 Xcode 项目,我想忽略 xcuserdata 文件夹.使用 Mac 终端应用程序,我转到 svn 存储库的根目录并尝试使用以下命令忽略该文件夹:

I am working on an iOS application. I have an Xcode project and I want to ignore the xcuserdata folder. Using the Mac Terminal application, I go to the root of my svn repository and try to ignore the folder using:

svn propset svn:ignore path/to/my/folder/MyProject.xcodeproj/xcuserdata .

如果我使用以下方法检查 svn:ignore 属性:

If I check the svn:ignore property using:

svn propedit svn:ignore .

我明白了:

path/to/my/folder/MyProject.xcodeproj/xcuserdatata

我已提交并更新,但我执行了 svn 状态,我仍然看到带有 ?在它旁边做标记.有谁知道我做错了什么?我使用的是 svn 版本 1.6.17 (r1128011).

I have committed and updated, but I do an svn status, I still see the folder with a ? mark beside it. Does anyone know what I'm doing wrong? I am using svn version 1.6.17 (r1128011).

编辑补充说我的问题似乎与这个类似:SVN 不会忽略文件夹,尽管 propset svn:ignore,但在我的情况下,我想忽略的文件夹中的任何文件似乎都没有添加到 svn,我想忽略的文件夹也没有添加到 svn.

Edited to add that my question seems similar to this one: SVN just won't ignore a folder, despite propset svn:ignore, but in my case none of the files in the folder I want to ignore seem to be added to svn, nor is the folder that I want to ignore added to svn.

推荐答案

我想你想要:

svn propset svn:ignore xcuserdata path/to/my/folder/MyProject.xcodeproj

即您想忽略路径中的 xcuserdata.

ie you want to ignore xcuserdata at the path.

这篇关于svn:ignore 不忽略 xcuserdata的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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