2008年9月16日 星期二
2008年8月5日 星期二
2008年7月25日 星期五
2008年7月14日 星期一
zip command
zip -r data.zip .
This copies the current directory, including all subdirectories into data.zip
2008年6月27日 星期五
find command
ex:
find . -name "test.c"
first argument set the path to find
second argument set the file to find
2008年6月23日 星期一
2008年6月18日 星期三
2008年6月11日 星期三
2008年5月30日 星期五
2008年5月13日 星期二
2008年5月8日 星期四
cvs
set cvsroot:
export CVSROOT=:pserver:andy@10.1.1.1:/home/cvs
login
cvs login
import:
cvs import test andy ver1
test: project name on cvs server
andy: Vendor-tag
ver1: Version-tag
checkout:
get specific version:
cvs co -r v1_2 projectName
get specific date:
cvs co -D "12/02/2008 13:00" projectName
get specific branch
cvs co -r branch_name projectName
show status:
ex:
cvs st test.c
commit:
cvs commit test.c
remove
1. rm test.c
2. cvs rmove teset.c
3. cvs commit test.c
when check out project next time, test.c is not checked out
but test.c is still on cvs server
Hence, we can roll back the time test.c exists
2008年5月3日 星期六
svn
svn on windows: tortoiseSVN
一般分三種directories
一般分三種directories
trunk: 最新的程式
branch: 程式某個版本的branch,不會影響到最新的程式
tag: 每個release的程式,會有個tag對應,如此可以取回任何一版release的程式
將程式抓下來:
ex: svn checkout http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated/
訂閱:
文章 (Atom)
