The commit Command
The commit command saves the changes of the current working files into the repository. When you save a file in your working directory, it does not affect the repository. Source files in the repository are independent of your local files. With commit, you can save changes made to a local file into the repository, where the file is saved as a later revision of the original source file. For example, to save the original and changed files with revision numbers, such as 1.1 and 1.2, the syntax is:$ cvs commit –m "New text file" new.txt
various options that you can use with the Commit command:
Options Description
-l Retrieves files from the current working directory.
-R Commits directories recursively.
-r Commits revision.
-F Retrieves log messages from files.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home