锋芒初露
- 麒麟币
- 126 枚
- 任务币
- 0 枚
- 威望
- 0 点
- 贡献
- 0 点
- 主题
- 13贴
- 在线时间
- 7 小时
|
Shell与SVN
可以通过Shell进行SVN操作。(Mac OS自带SVN, Linux需要安装)
【一:SVN服务器配置】
1 创建SVN服务器:
svnadmin create /users/luoshengyu/svnlsy
2 conf文件夹配置权限
3 启动SVN:
svnserve -d -r /users/luoshengyu/svnlsy
4 导入Repository:
svn import /users/luoshengyu/desktop/shell_svn/server svn://localhost/svnlsy/server
【二:SVN check out】
1 创建并进入文件夹
2 svn checkout svn://10.777.10.11/proj/apiDoc
svn checkout svn://localhost/svnlsy --username=lsy --password=123
【SVN client指令】
查看所有svn命令:svn help
输出svn状态:
1 进入SVN目录
2 svn st
添加:
svn add x.txt
提交:
svn commit x.txt -m "info"
更新svn:
1 进入SVN目录
2 svn update
了解更多的unity3D知识,点击《unity教程 》,免费学习下载
源自:http://www.youxi.com/game/code/1488.html
|
|