Global SVN ignores do not work (solutions of other posts do not work)

I go into my .subversion / config and add .settings, but from svn diff, we see that it does not work.

~/Space/ifp-integration/CIGNA-IFP-ESB$ svn diff
Index: .settings/org.eclipse.jdt.core.prefs
===================================================================
--- .settings/org.eclipse.jdt.core.prefs    (revision 2014)
+++ .settings/org.eclipse.jdt.core.prefs    (working copy)
@@ -1,6 +1,15 @@

This shows that someone should have checked it, but I don't care, because I want to ignore it anyway. Is there a way to make sure this is ignored?

+3
source share
1 answer

You cannot ignore material that is in your repository. This is not how to ignore work in Subversion.

Ignoring is just a way to prevent accidentally adding a file to the repository. If the file already exists in the repository, you cannot ignore it.

, . , .settings Subversion, .settings, .settings. .settings, .

, svn add * svn status, , , , svn status. , .

svn:ignore, . , svn:ignore . , Maven, svn:ignore= target, . , svn:ignore , , .

, .settings? : . , Subversion . :

$ svn checkout --depth=immediates http://server/src/myproj

, . Kornshell BASH ( shopt -s extglob):

$ svn update --set-depth=infinity !(.settings)

, .settings.

:

$ svn update --set-depth=exclude .settings

.settings, . .settings , .settings , svn diff ( URL- ) .settings.

, : . - , .

, . . , , , , .

, , , , . , , .settings . svn:ignore .settings.

+5

All Articles