[Quick Tip] How to check out a specific branch in a CVS directory

Share this article

Suppose you want to checkout “branch_name” branch of directory “directory_name” in CVS from scratch. Here is how to do it:

cvs login 
cvs co -r branch_name directory_name

If you want to switch to a specific branch with update:

cvs update -r branch_name