Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从化石SCM迁移到GitHub_Git_Github_Fossil - Fatal编程技术网

从化石SCM迁移到GitHub

从化石SCM迁移到GitHub,git,github,fossil,Git,Github,Fossil,对于一个项目,我一直在维护化石SCM中的版本。现在我想把它移到GitHub。因此,我按照下面URL中的引用执行了以下步骤 我在GitHub上创建了一个没有自述、许可证和.gitignore的存储库,并发出了以下命令 git init git add * fossil export --git repo.fossil | git fast-import git remote add origin github_repo_url.git git remote -v git push origin m

对于一个项目,我一直在维护
化石SCM
中的版本。现在我想把它移到GitHub。因此,我按照下面URL中的引用执行了以下步骤

我在GitHub上创建了一个没有自述、许可证和.gitignore的存储库,并发出了以下命令

git init
git add *
fossil export --git repo.fossil | git fast-import
git remote add origin github_repo_url.git
git remote -v
git push origin mast
之后,当我在
GitHub
中查看时,我只看到一次提交,但在
化石SCM
中我有近30次提交。我需要得到所有的承诺。我该怎么做

参考URL: *
*

看起来您可能在导出过程中遗漏了几个步骤。确保您的repo化石位于新的repo git文件夹之外。这就是为什么在您引用的文档中,它指向一个更高级别的
。/repo.fossil
。在新的git工作目录中使用
git log
检查导出是否包含所有提交。然后继续推送到github。