Friday, March 19, 2010

[SVN] command line

SVNBook
http://svnbook.red-bean.com/nightly/en/index.html

不 使用svn command line的請略過

svn st 檢查local檔案修改狀態

changelist (cl): Associate (or dissociate) changelist CLNAME with the named files.
svn cl
 
ex:
改東西時先加入list
svn cl pay xxx.php
要commit時
svn ci --cl pay

property
svn:ignore  svn會略過的東西

svn ps svn:ignore
 
 
    copy目錄時要小心
 
原目錄的/.svn 也會被一起copy
commit時,會commit進原目錄
要先砍掉目錄內的.svn,再重加進svn
 
 
filelist可以先處理過會比較好
sort -u svn_xxx.txt

No comments: