FreeKB - How to update a file in CVS
How to update a file in CVS

Home > Search > How-to


If you are not familiar with CVS, check out our getting started article.

These examples are based on Linux. Let's say your CVS home directory is /var/cvs. Move into your CVS home directory.

~]# cd /var/cvs

 

Before updating a file in CVS, ensure you have checked out, to get the latest version of the files in CVS.

Make a change to a file in CVS. Then, check the file in, which creates a new version of the file in CVS. It is noteworthy that this also performs a commit, thus there is no need to commit the updated file.

~]# cvs ci -m "describe the change you made" <file name>
new revision: 1.1; previous revision: 1.2
done

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 2ef12 in the box below so that we can be sure you are a human.




Comments