1.3.3. Checking Out a Working Copy


To check out a working copy of a project in a CVS repository, run the following command:
cvs -d cvs_repository checkout module
This creates a new directory called module with a working copy of a project in it. Note that cvs_repository is a URL of the CVS repository and module is the subdirectory in which the project is stored (such as project). Alternatively, you can set the $CVSROOT environment variable as follows:
export CVSROOT=cvs_repository
Then you can use the cvs checkout command without the -d option:
cvs checkout module

Example 1.17. Checking out a working copy

Imagine that you have a CVS repository in ~/cvs/ and that this repository contains a module named project. To check out a working copy of this module, type:
~]$ export CVSROOT=~/cvs
~]$ cvs checkout project
cvs checkout: Updating project
U project/AUTHORS
U project/INSTALL
U project/LICENSE
U project/Makefile
U project/TODO
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.