VS 配置文件和 Tortoise SVN

VS config file and Tortoise SVN

我已经签出保存在 SVN 存储库中的 C# 项目,并且 .config 文件(在 bin/debug and/or bin/release 文件夹中)包含一个日志文件的路径.我需要在本地将该路径更改为 运行,但我不想将我的更改提交到存储库,因为这对于实时环境来说是错误的。

如果我将其设置为忽略此文件,那么其他任何签出的人都不会拥有此文件。

后端在 Windows Server 2012 R2

上使用 Microsoft 的 VisualSVN 运行ning

我有哪些选择?以及如何做?

您需要将这些文件设置为 ignore-on-commit ChangeLists

在您的提交对话框中,右键单击您的文件并 select Move to change list > ignore-on-commit

正如乌龟 documentation 所说:

Changelists are purely a local client feature. Creating and removing changelists will not affect the repository, nor anyone else's working copy. They are simply a convenient way for you to organise your files.