You can use the settings ignore-glob
command to list the directories/files to ignore as a comma-separated list.
- On your repository's web interface, go to the Admin menu, select Settings and type the comma-separated list of directories to ignore; for example:
*/*.suo,*/*/bin/*,*/*/obj/*
.
- Alternatively, on the command line you can type
fossil settings ignore-glob
to list the applied ignore list, or fossil settings ignore-glob
list-of-files.
- You can also create/edit the
.fossil-settings/ignore-glob
at the root of the project and insert the comma-separated list of files/directories to ignore; I have not personally tested this, but I remember reading this online.
For example, on the command line you can do:
fossil settings ignore-glob "*/*.suo,*/*/bin/*,*/*/obj/*"
This would ignore all .suo
files in every subdirectory at the Fossil repository root tree, and all the files in the bin
and dir
subdirectories at the each of the directory in the root directory.