Questo contenuto non è disponibile nella lingua selezionata.

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
Copy to Clipboard Toggle word wrap
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_repositoryCVSROOT=cvs_repository
Copy to Clipboard Toggle word wrap
Then you can use the cvs checkout command without the -d option:
cvs checkout module
Copy to Clipboard Toggle word wrap

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
Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat