I've done some research, but honestly can't seem to figure this out.
You can set some set some options to have fossil extras ignore files, but not fossil add? The configuration options through the web interface is great, and I'm pleased that it does work for the extras command, but it doesn't apply to the add command?
How does one configure fossil to ignore files on fossil add .?
You can use the settings ignore-glob
command to list the directories/files to ignore as a comma-separated list.
*/*.suo,*/*/bin/*,*/*/obj/*
.fossil settings ignore-glob
to list the applied ignore list, or fossil settings ignore-glob
list-of-files..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.
On Windows 7 (not tested on other platforms)
If you do
fossil add *.*
All ignore-glob settings are ignored (all files are added).
If you do
fossil add .
then ignore-glob settings are used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With