发表于: 2019-12-02 19:51:44
1 1153
今天完成的事:
复习
明天计划的事:
复习
遇到的问题:
暂无
收获:
SVN常用命令
svn co svn://svnbucket.com/xxx/xxx
svn up
svn add filename
svn add *.php
svn add . --no-ignore --force
svn commit -m "提交描述"
svn log test.php
svn log -r 100
svn revert -r 目录名
svn revert --recursive 目录名
svn diff
svn diff test.php
svn diff -r 200:201 test.php
svn diff -r 301 bin
svn status
svn info
svn ls -r 100
svn blame filename.php
svn cat test.py -r 2
svn cleanup
$ svn ci -m 'Adding "spool" and ignoring its contents.'
$ svn ci -m 'Ignoring a directory called "spool".'
svn switch svn://svnbucket.com/test/branches/online1.0
svn switch --relocate 原svn地址 新svn地址
# 合并主干上的最新代码到分支上
svn merge http://svnbucket.com/repos/trunk
svn merge --reintegrate http://svnbucket.com/repos/branches/online1.0
svn rm http://svnbucket.com/repos/branches/online1.0
svn help
评论