导入 Bitbucket/Github 项目到 Git@OSC
2013-08-20 00:00
627 查看
整个流程截图
1、从原始地址 clone 一份 bare 仓库,私有项目要输入密码:
git clone --bare https://thinkphp@bitbucket.org/thinkphp/tingshu.git[/code] 2、在GIT@ OSC上
创建一个项目
3、以 mirror 的方式把刚才 clone 的项目 push 到 GIT@OSC 上: (如果提示输入 git 用户密码,请到 http://git.oschina.net/keys 添加 SSH Key;或者用https方式,提交时填写用户名和密码)cd tingshu.git git push --mirror https://git.oschina.net/ThinkPHP/tingshu.git[/code] 方法来至:http://git.oschina.net/oschina/git-osc/issues/20#note_192
相关文章推荐
- 将项目同时托管到Github和Git@OSC
- 2014 年度 Git@OSC【非GitHub】 最热门的 50 个项目
- 如何将项目同时托管到 Git@OSC 和 GitHub
- Git通过SSH key获取GitHub上项目,导入到IDEA中
- 在Eclipse中使用git把项目导入到osc@git中
- 在Eclipse中使用git把项目导入到osc@git中
- 将git项目导入GitHub的方法(附创建分支)
- Eclipse安装git插件以及关联导入GitHub项目
- IDEA 分享项目到 Git@OSC/GitHub
- 分享如何将git项目导入GitHub(附创建分支)
- github创建repo,本地导入git项目到github
- Eclipse安装git插件以及关联导入GitHub项目
- Eclipse中将现有的maven项目 导入Git,并发布到github
- github创建repo,本地导入git项目到github
- 如何将spring源码作为导入eclipse中,变成一个普通的项目(git、github)
- Eclipse安装git插件以及关联导入GitHub项目
- 将GIT仓库从Github导入到Git@OSC
- 【工匠大道】将项目同时托管到Github和Git@OSC
- Eclipse安装Git插件以及关联导入Github项目
- git的使用,使用eclipse 从github导入项目及提交源代码