The "co" command:
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 checkout 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 checkout the latest version in the repository.
- Ignore edited files in the current checkout
- Only update the manifest and manifest.uuid files
- Force checkout even if content is missing
- Set timestamps of all files to match their SCM-side times (the timestamp of the last checkin which modified them)
See also: update