标签:cvs
CVSROOT=:pserver:[user]@[server][cvs库路径,如/home/cvsroot/devel]
CVS_RSH=ssh
CVSEDITOR=/usr/bin/emacsclient
export CVSROOT CVS_RSH CVSEDITOR
cvs login
cvs co -d dir path/to/project
path/to/project
cvs diff fileName
cvs ci -m "comments" fileName
cvs update fileName
cvs status fileName
rm fileNamae
cvs remove fileName
cvs ci -m "comment" fileName
# CVS环境变量配置
export CVSROOT=/path/to/cvsroot
cd /path/to/cvsroot
mkdir project1
cvs -d /path/to/cvsroot/project1 init
如果报错
cvs init: No CVSROOT specified! Please use the `-d‘ option
cvs [init aborted]: or set the CVSROOT environment variable.
请返回步骤1配置CVSROOT
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:cvs
原文地址:http://blog.csdn.net/yanglishuan/article/details/47665591