The "checkout" command:

Usage: fossil checkout ?VERSION | --latest? ?OPTIONS?
or: fossil co ?VERSION | --latest? ?OPTIONS?

NOTE: Most people use "fossil update" instead of "fossil checkout" for day-to-day operations. If you are new to Fossil and trying to learn your way around, it is recommended that you become familiar with the "fossil update" command first.

This command changes the current check-out to the version specified as an argument. The command aborts if there are edited files in the current check-out unless the --force option is used. The --keep option leaves files on disk unchanged, except the manifest and manifest.uuid files.

The --latest flag can be used in place of VERSION to check-out the latest version in the repository.


Ignore edited files in the current check-out
Only update the manifest file(s)
Force check-out even if content is missing
Set timestamps of all files to match their SCM-side times (the timestamp of the last check-in which modified them)

See also: update