Community-Lab introduction

Help: checkout
Login

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 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.

Options:

--force
Ignore edited files in the current checkout
--keep
Only update the manifest and manifest.uuid files
--force-missing
Force checkout even if content is missing
--setmtime
Set timestamps of all files to match their SCM-side times (the timestamp of the last checkin which modified them)

See also: update