CVS: ◎ Configuring CVS The following statement is only suitable for KSH .Profile #! / bin / kshcvsroot = / cost / home / huangzh / cvs / cvsrootexport cvsroot can also set the variable cvsroot = / export / home / huangzh / CVS / CVSROOTEXPORT CVSROOT ◎ CVS starts CVS INIT but first creates this directory ◎ CVS CheckoutCVS Checkout -d Checkout1 PRJ1 will use the following statement after modification, use the following statement (such as the following file condb.c) cvs commit conndb.c ◎ Perform the following statement in the local directory, add all of the local files to the project Add a project CVS import -m "this is first cvs" PRJ1 VENDOR1 START
◎ When the commit is added, the inserted data must be in the forefront ◎ add binary files into the use of CVS Add -KB FileName ◎ Delete a file After deleting the file, use the statement CVS Remove FileNameCVS Commit If you delete the directory, now Remove all files in this directory ◎ CVS Tag -b Tag name
◎ Cleaning work after Checkout CVS -RELEASE -D Checkout1 ◎ Add file CVS Add file name
◎ Add directory cvs add directory name / ◎ CVS log View log file ◎ Use the CVS Edit file name // You can modify the read-only file, simultaneous Event ◎ CVS Watch On Edit settings list all people's action when someone edit file (Manage) ◎ Management encrypted file CVS admin -l file name // encrypted file cvs admin-u file name // decryption file ◎ CVS update // update the latest file in the warehouse to your current directory ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎
{◎ TAG does not understand ◎ How to use Update? ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎ ◎
}