Name

checkout

Synopsis

checkout  
 [ -A ]  
 [ -c | -s ]  
 [ -d dir [ -N ] ]  
 [ [ -D date | -r rev ] -f ]  
 [ -j rev1 [ -j rev2 ] ] 
 [ -k kflag ]  
 [ -l | -R ]  
 [ -n ]  
 [ -p ]  
 [ -P ]  
 module ...

Copy files from the repository to the sandbox.

The standard meanings of the common client options -D, -f, -k, -l, -n, -r, and -R apply. Additional options are:

-A

Reset any sticky tags or dates.

-c

Copy the module file to standard output.

-d dir

Override the default directory name.

-j rev

Join branches together.

-N

Don’t shorten module paths.

-p

Pipe the files to standard output, with header lines between them showing the filename, RCS filename, and version.

-P

Prune empty directories.

-s

Show status for each module from the modules file.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.