SVN, How to use global ignore files and folders

Allan Santos
1 min readMay 6, 2019

When we are working with subversion, it is very common that we add ignore files or directories specifics of a directories sub set.

But, something kind of files like .project, settings.json and folders like .vscode, .data, dist, src and bin need to be globally ignored.

It is very easy to do that, all you need to do, is locate the .subversion directory. If you are using linux, that directory will probably be under the user main directory.

Then, edit the property global-ignores at the file config as showed bellow. Observe that each name of file or directory is separated from each other by space.

### Section for configuring miscellaneous Subversion options.
[miscellany]
global-ignores=.project settings.json .data dist src bin

After that, your SVN client will ignore all those files and directories at any part of your SVN tree.

--

--