1.建立前的工作: 建立倉庫,如果你是windows用戶,可以在圖形界面中建立reponsitory,... easy
還有就是安裝cvs server,,,甭多說了吧
2. 建立用戶:這裏的用戶是指cvs 的用戶。步驟有3:
(1):用具有admin權限的用戶登錄 ,在命令行中建立 cvsroot : 格式:set cvsroot=:pserver:<computer>:/modulName(注意用/,如果 用 / 就會登錄不上)。你也可以用set cvsroot=:pserver:<computer>:/modulName
(2): 增加用戶並與計算機登錄名同步: cvs passwd -a -r <real windows user ,i.e:administrator> cvsuser1
PS :如果查看cvs命令:
直接 cvs --help 打出所有
cvs command--help ;更出某個的用法 :如cvs passwd--help
cvs --help-options :打出cvs的參數