gpt4 book ai didi

svn - 如何让 svn 仅在我的工作副本中忽略 unversion 文件?

转载 作者:行者123 更新时间:2023-12-02 20:55:42 25 4
gpt4 key购买 nike

重复:Ignore SVN ignore... possible?

<小时/>

假设我的工作副本中散布着我不想删除的未版本控制的文件。我希望 svn 忽略这些文件,但我不想将它们添加到忽略列表中,因为我不想用我的忽略列表污染其他人的工作副本。这在 svn 中可能吗?

澄清:我不知道为什么,但人们一直建议我编辑我的全局配置;然而,这不是我正在寻找的东西。我想要做的是针对特定工作副本中的特定文件。这可能吗?

最佳答案

是的,user configuration file可以包含global-ignores这正是您正在寻找的选项。

此文件的位置因平台而异。来自文档:

On Unix-like systems, this area appears as a directory named .subversion in the user's home directory. On Win32 systems, Subversion creates a folder named Subversion, typically inside the Application Data area of the user's profile directory (which, by the way, is usually a hidden directory). However, on this platform the exact location differs from system to system, and is dictated by the Windows registry.

关于svn - 如何让 svn 仅在我的工作副本中忽略 unversion 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1146347/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com