我正在考虑将一个项目从 Sourceforge 迁移到 Github。除了 svn 到 git,迁移问题跟踪器之类的东西怎么样?有没有简单的方法可以做到这一点?
9190 次
4 回答
21
对于 SVN 到 GitHub 部分,这是现在最简单的方法:https ://help.github.com/en/github/importing-your-projects-to-github/importing-a-repository-with-github-importer
但它不会导入问题。
于 2015-03-27T18:02:42.820 回答
18
I've written a Python script to migrate issues. It's at https://github.com/ttencate/sf2github.
Beware: Sunday afternoon software. Use at your own risk, etc. etc. Pull requests welcome!
于 2011-03-13T17:33:15.383 回答
14
因为我刚刚这样做了,所以这是我的方法
从远程 svn 存储库创建本地 git 存储库
git svn clone http://svn/repo/here/trunk
现在将存储库推送到 github
git remote rename origin upstream
git remote add origin git@github.com:myname/myproject.git
git push origin master
于 2012-12-10T16:28:40.453 回答