CVS Commands

CVS Commands

hansel<hansel@163.com>
2005.4.17

1.Add CVSROOT Definition
Avoid using -d parameter for each time using cvs. May be add to .bash_profile in your home directory or add to /etc/bashrc for everybody to using.
Note: Do not leave blank at both side of equal mark, USERNAME is for cvs server, SERVER_IP is ip address of cvs server.

CVSROOT=:pserver:USERNAME@SERVER_IP:/cvsroot
export CVSROOT

2.login:login to cvs server. Only need login one time, cvs will keep your login information.

cvs login

3.checkout: check out a module on cvs server
Enter your working folder before using this command, may be your home directory. MODULE is module name on cvs server.

cvs co MODULE

4.update:update files in working folder
Should run this command before each time commit a module.

cvs up

using -d option to auto create new fold in working folder.

cvs up -d

5.commit:commit local files in working folder to cvs server.

cvs ci

6.add:Add a new file or directory. For folder with sub-folder, using import command instead.

cvs add FILE or DIRECTORY
cvs import DIRECTORY

7.remove: Remove a file or directory on cvs server

cvs remove FILE or DIRECTORY


 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值