svn忽略本地文件
基本上,我似乎需要 git 功能的 svn 模拟,在 帖子。
这是我的要求。 我有一个分支,我需要对文件进行一些本地更改,但不想提交它们,所以我想忽略它们,但仍然保持文件版本并能够集成来自主干的更改(与 此处)。正如我正确理解的那样,命令 svn propset svn:ignore "file.ext" .
(cp.this post)将完全取消文件版本。并且这个状态将被提交到分支,并最终在合并时提交到主干。 (我想,在使用 TortoiseSVN GUI 时应用“取消版本并添加到忽略列表”时也是如此。)所以在这种特殊情况下我需要其他东西。如果可能的话,请提供 TortoiseSVN 的示例。
我在服务器上使用 Subversion 1.11.1,在本地计算机上使用 Subversion 1.14.1,在 TortoiseSVN 1.14.1 上分别使用。
Basically, it seems that I need an svn analog of the git feature, pointed out in this post.
Here are my requirments.
I have a branch where I need to make some local changes on a file but never want to commit them so I'd like ot ignore them, but still keep the file versioned and be able integrate changes from trunk (so differently as here). As I understood correctly the command svn propset svn:ignore "file.ext" .
(cp. this post) would unversion the file completely. And this state wuld be commited to the branch and eventually to the trunk when merged. (The same would be when applying "unversion and add to the ignore list" when using TortoiseSVN GUI, I suppose.) So I would need something else in this particular case. Please, give also examples for TortoiseSVN, if possible.
I use Subversion 1.11.1 on the server, Subversion 1.14.1 on the local machine and TortoiseSVN 1.14.1 respectively.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
ignore-on-commit
变更列表< /a> 与 TortoiseSVN。请参阅 TortoiseSVN 手册 |从提交列表中排除项目。Use the
ignore-on-commit
changelist with TortoiseSVN. See TortoiseSVN Manual | Excluding Items from the Commit List.