fossil-add
Add files or directories to repository
TLDR
Put a file or directory under version control, so it will be in the current checkout
Remove all added files from the current checkout
SYNOPSIS
fossil add FILENAME...
PARAMETERS
FILENAME
Specifies the file(s) or directory(s) to be added to the Fossil repository.
--dry-run
Shows what the command would do without actually making changes.
--force
Forces the addition of files that might otherwise be ignored by the repository. For example, hidden files may be ignored.
DESCRIPTION
The fossil add command stages files for inclusion in the next commit. It tells Fossil to start tracking changes to these files. When you run fossil commit, any files that have been added using fossil add will be included in the new version of the repository. The fossil add command does not immediately store the file in the repository; it simply tells Fossil that the file should be included the next time you create a new version, or commit. It is analogous to git add.
The most basic usage is to provide a single filename or a directory. If you specify a directory, fossil add will recursively search for all files within that directory and add them. Use wildcards to add multiple files at once.
The files must exist in the directory where the repository is located.
IGNORES
Fossil supports a file called .fossil-settings that can specify files and patterns of files to be ignored when adding. This is useful for excluding build artifacts, temporary files, and other files that shouldn't be tracked.
Example: setting "ignore-glob" = "*.o" will ignore all .o files.