On an install of Subversion, there is a file in a path such as one of the following:
- Windows Vista/7/8/8.1/10:
C:Users<username>AppDataRoamingSubversionconfig
- Windows XP:
c:Documents and Settings<username>.subversionconfig
- Unix (Linux, etc), macOS:
$HOME/.subversion/config
that contains a global configuration for Subversion. In the [miscellany]
section is a global-ignores
parameter which you can use to set up globally ignored filename patterns.
The Runtime Configuration Area section of the Subversion book has more information, including how to set up such global configuration parameters in the registry if you need to.
Typical examples:
[miscellany]
global-ignores = *.o *.so *.so.[0-9]* .DS_Store [Tt]humbs.db
or perhaps if you are in a transition phase to using Git:
[miscellany]
global-ignores = .git
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…