从 Google Code 迁移代码到 GitHub 上
生活随笔
收集整理的這篇文章主要介紹了
从 Google Code 迁移代码到 GitHub 上
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
從Google Code遷移代碼到github上的步驟:
首先訪問(wèn) https://github.com/nirvdrum/svn2git 安裝svn2git工具。
創(chuàng)建一個(gè)空白目錄,進(jìn)入該目錄執(zhí)行 svn2git http://xxxxx.googlecode.com/svn , 注意,以svn結(jié)尾,不要加/trunk
導(dǎo)出完畢后,在github上創(chuàng)建你需要的項(xiàng)目
回到之前工作目錄, 執(zhí)行 >git remote add origin git_repo_url 添加遠(yuǎn)程repository,然后執(zhí)行 git push origin master 即可。
?
https://help.github.com/articles/importing-from-subversion
轉(zhuǎn)載于:https://www.cnblogs.com/leavingme/archive/2013/03/12/2955689.html
總結(jié)
以上是生活随笔為你收集整理的从 Google Code 迁移代码到 GitHub 上的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: HTML/CSS/Javascript代
- 下一篇: 【软件工程1916|W(福州大学)_助教