如何使用git svn 命令下载svn仓库的代码
2016-05-13 15:29
651 查看
如何使用git svn 命令下载svn仓库的代码
参考链接 http://blog.chinaunix.net/uid-11639156-id-3077471.html
下载代码:
从指定的节点693检出代码:
git svn clone -r693:HEAD http://192.168.30.203/svn/trunk/1860c --username=liyaochuan
使用git svn rebase更新本地代码
使用git svn dcommit命令push代码
//==============================================================================
liyaochuan@dttzd-05:~/work/V$ git svn clone -r693:HEAD http://192.168.30.203/svn/trunk/1860c --username=liyaochuan
Initialized empty Git repository in /home/liyaochuan/work/V/1860c/.git/
Temp file with moniker 'svn_delta' already in use at /usr/share/perl5/Git.pm line 1024.
出现以上错误需要做如下修改:
参考:http://stackoverflow.com/questions/12700194/git-svn-clone-fails-on-mac-os-x-temp-file-with-moniker-svn-delta-already-in
liyaochuan@dttzd-05:~/work/V$ vi /home/liyaochuan/.subversion/servers
在该文件加入
[global]
http-bulk-updates=on
参考链接 http://blog.chinaunix.net/uid-11639156-id-3077471.html
下载代码:
从指定的节点693检出代码:
git svn clone -r693:HEAD http://192.168.30.203/svn/trunk/1860c --username=liyaochuan
使用git svn rebase更新本地代码
使用git svn dcommit命令push代码
//==============================================================================
liyaochuan@dttzd-05:~/work/V$ git svn clone -r693:HEAD http://192.168.30.203/svn/trunk/1860c --username=liyaochuan
Initialized empty Git repository in /home/liyaochuan/work/V/1860c/.git/
Temp file with moniker 'svn_delta' already in use at /usr/share/perl5/Git.pm line 1024.
出现以上错误需要做如下修改:
参考:http://stackoverflow.com/questions/12700194/git-svn-clone-fails-on-mac-os-x-temp-file-with-moniker-svn-delta-already-in
liyaochuan@dttzd-05:~/work/V$ vi /home/liyaochuan/.subversion/servers
在该文件加入
[global]
http-bulk-updates=on
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- git更新已經刪除的文件
- About SVN
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- CentOS 6.5搭建Apache整合SVN 1.8.5服务器(多版本库权限配置)
- CentOS下SVN服务器测试版安装记录
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- 如何在本机搭建SVN服务器
- Windows下搭建本地SVN服务器
- git终极指南:在实际开发中的应用
- 让GoogleCode的SVN下的HTML文件在FireFox下正常显示.
- Windows下SVN服务器搭建方法整理(apache)
- Apache2+SVN+MYSQL认证 配置项详细步骤
- 在Fedora 10下配置SVN服务器的步骤
- 删除SVN三种方法delSvn(windows+linux)
- 探讨如何在Eclipse中过滤版本控制文件.svn
- linux下安装配置svn独立服务器的步骤分享