gpt4 book ai didi

java - Eclipse Subversive 新文件自动添加到版本控制中

转载 作者:行者123 更新时间:2023-11-30 04:54:53 24 4
gpt4 key购买 nike

我使用 Eclipse Helios 和 Subversive:

Subversive SVN Connectors 2.2.2.I20110124-1700
org.polarion.eclipse.team.svn.connector.feature.group

Subversive SVN Team Provider (Incubation) 0.7.9.I20110207-1700
org.eclipse.team.svn.feature.group

Eclipse 和 Subversive 自动将新文件添加到版本控制中。

但似乎这种自动行为是参数化的:*.log 文件不会添加到版本控制中。

自动行为配置在哪里?

团队>SVN>属性配置>自动属性?但面板是空的,没有列出*.log文件的规则。

最佳答案

eclipse

它位于团队-->忽略的资源下。

enter image description here

svn:忽略属性

您可以设置 svn:ignore属性从颠覆中排除某些文件/文件模式:

颠覆全局设置

Subversion 已全局定义排除: global-ignores

When running the svn status command, Subversion lists unversioned files and directories along with the versioned ones, annotating them with a ? character (see the section called “svn status”). Sometimes, it can be annoying to see uninteresting, unversioned items—for example, object files that result from a program's compilation—in this display. The global-ignores option is a list of whitespace-delimited globs which describe the names of files and directories that Subversion should not display unless they are versioned. The default value is *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store.

As well as svn status, the svn add and svn import commands also ignore files that match the list. You can override this option for a single instance of any of these commands by using the --no-ignore command-line flag. For information on more fine-grained control of ignored items, see the section called “svn:ignore”.

关于java - Eclipse Subversive 新文件自动添加到版本控制中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8849846/

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