从提交列表中省略版本化文件或文件夹 [英] Omit Versioned Files or Folders from Commit List

查看:31
本文介绍了从提交列表中省略版本化文件或文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关注这个问题:svn:ignore 的双重性质

有没有办法完成第二种情况?即阻止 Tortoise SVN 或普通 SVN 列出一组具有本地修改但在版本控制下出现在提交列表中的固定文件?

我在一个项目中与另一家公司的一组开发人员一起担任唯一的远程开发人员,因此所有其他开发人员都可以共享某些我需要对其进行本地修改的文件.

解决方案

Tortoise 通过 忽略提交更改列表.默认情况下,在 Tortoise 提交对话框中,忽略提交更改列表中的任何项目都将取消选中.要将项目添加到列表中,请在提交对话框或修改对话框中右键单击它,将鼠标悬停在移至更改列表"上并选择提交时忽略"

Follow-to this question: The Dual Nature of svn:ignore

Is there any way to accomplish the second scenario? i.e. Stop Tortoise SVN or plain SVN from listing a fixed set of files which have local modifications but are under version control from appearing in the commit list?

I am on a project where I am the sole remote developer with a group of developers in another company, as a consequence all the other developers can share certain files which I need to make local modifications to.

解决方案

Tortoise supports this via the ignore-on-commit changelist. Any items in the ignore-on-commit changelist will be unchecked by default in the Tortoise commit dialog. To add an item to the list, right-click it in the commit dialog or the modifications dialog, mouse over "Move to changelist" and select "ignore-on-commit"

这篇关于从提交列表中省略版本化文件或文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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