计算机技术
Git with SVN 协同设定

怎么设定 Git 和 SVN的协同设置呢,最近折腾了一下,给个实例
Git Server
- 從 SVN repository 建立一个 Git repository (Fetch)
git svn clone --no-minimize-url --username=user_name svn:
//gisvsssvr/GRelease/remote_repo_name local_repo_name
- 建立一個 Git bare repository
git clone --bare /c/Git/GRelease_Fetch/local_repo_name
- 設定 Git repository (Fetch)
git remote add mirror /c/Git/GRelease/local_repo_name
- Fetch Server 的排程設定
git svn rebase
git push mirror
User (Local)
- 設定 Git repository
git clone http:
//user_name:password@c3-gis-git.ad.garmin.com:8080/git/GRelease/remote_repo_name local_repo_name
- 設定 SVN repository
git svn init --no-minimize-url --username=user_name svn:
//gisvsssvr/GRelease/remote_repo_name local_repo_name
git svn fetch
Reference
原文地址:http://www.cnblogs.com/hyb1/archive/2013/04/25/3042024.html
对这篇文章感觉如何?
太棒了
0
不错
0
爱死了
0
不太好
0
感觉很糟
0
More in:计算机技术
Firebug 与 DevTools 的集成
你可能已经听说过我们对统一 Firefox 的本地开发人员工具(DevTools)和 Firebug 的努力。我们一直在努力地将的所有最喜欢的 Firebug 功能添加到本地 DevTools 中,使 […]
判断Linux服务器架构是32位/64位
作为一个 Unix 系统的新手用户,我可以怎么判断我的 Unix 服务器安装的是32位或者64位的操作系统呢?你可以使用如下的命令来获取关于 Unix 内核和 CPU 架构的信息。
从Windows系统到Linux系统转变的5大要点
到底要怎样从一个在Windows系统下工作的人转变成一个合格的Linux系统管理员?更重要的是,我应该在工作中做些什么?毕竟我的任务是完成工作,而不是学习一个新的操作系统。
Google、搜搜、百度三家卫星地图URL研究
前一段时间因为公司有个项目需要我研究一下 Google 的卫星图的地址规律,开始我以为 会很艰难认为Google那么大公司 URL 应该会加密什么的,结果发现 Google 和搜搜、百度、搜狗 这几个 […]