Subversion命令小结

Categories: Development Notes; Tagged with: ; @ October 31st, 2008 10:06

1.  签出:

work>cd AirTest
AirTest>svn co svn://192.168.1.99/Athena/trunk/Test/LGL/AIRTest/test 或: svn checkout svn://192.168.1.99/Athena/trunk/Test/LGL/AIRTest/test

2. 更新项目仓库:

AirTest>svn commit –m “XX修改后更新项目仓库”

3.  保持更新:

AirTest>svn update

4.添加文件与目录:

AirTest> mkdir test
AirTest> svn add test

5. 拷贝,移动文件与目录

拷贝
AirTest> svn copy Number.text test.text

移动
AirTest>svn move Clocks.java Clock.java
实际工作便是重命名.
操作完成后运行commit以保存到项目仓库

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.