cvs co project #从project下载源码(cvs版本)到本地
cvs up #从cvs合并最新版本
cvs up -C modified-name #撤销对文件的修改
cvs tag release 添加release tag
cvs tag -d release #移除release tag
cvs co -r release -d old #得到原始版本到old目录
subversion:
$ cd
$ svn co #
RÍh
$ cd project-y
$ svn diff #
$ svn revert modified_file
$ svn ci -m "Describe changes" #
$ vi newfile_added
$ svn add newfile_added
$ svn add new_dir #
$ svn add -N new_dir2 #
$ svn ci -m "Added newfile_added, new_dir, new_dir2"
$ svn up #
$ svn log #
$ svn copy \
-branch \
-m "creating my branch of project-y" #
$ svn copy \
\
-m "project-y 1.0 release" #
... éI|q ...
$
$ svn merge \
-branch
$ svn co -r 4 # ztÇý 4
阅读(938) | 评论(0) | 转发(0) |