Name
checkout — Synonyms: co, get
Synopsis
cvs [cvs-options] checkout [-AcflnNpPrs] [-ddirectory-name] [-Ddate] [-jrevision[:date]] [-jrevision2[:date2]] [-kmode] [-rrevision]projects...
Creates a new sandbox in the current working directory. This command can also be used to update an existing sandbox.
See also export and update.
Command options
-
-A Clear sticky tags, dates, and keyword-expansion modes from a project and replace the current files with the head of the trunk.
-
-c Display the contents of the
modulesfile in the repository’sCVSROOTdirectory. This option lists the modules in the current repository and the options applicable to those modules.See also
-s.Tip
checkout -clistsonly those projects that have entries in themodulesfile.-
-d directory-name Check a sandbox out into a directory called
directory-nameinstead of using the repository directory name or the name designated in themodulesfile in the repository’sCVSROOTdirectory. This is particularly useful when creating a second sandbox for a project.CVS usually creates the same directory structure that the repository uses. However, if the
checkoutparameter contains only one file or directory and the-doption is used, CVS does not create any intervening directories. Use-Nto prevent CVS from shortening the path.-
-D date Check out the latest revision of each file in a project that is as old as or older than the date or time specified by
date. This option implies the-Poption and produces a sticky date on the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access