Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.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
将Mercurial回购转换为Git。较大的.git文件夹,但没有代码文件_Git_Version Control_Mercurial_Bitbucket - Fatal编程技术网

将Mercurial回购转换为Git。较大的.git文件夹,但没有代码文件

将Mercurial回购转换为Git。较大的.git文件夹,但没有代码文件,git,version-control,mercurial,bitbucket,Git,Version Control,Mercurial,Bitbucket,我对Git相当缺乏经验。我刚刚使用了hg git扩展,通过将Mercurial回购转换为新的本地git回购,从而转换了一个有100多个分支的Mercurial回购。本地git repo有一个300mb.git文件夹,这在某种程度上与原始hg repo的大小一致,但git repo不包含实际的代码文件。显然,文件/变更集在.git文件夹中,但我不知道如何“提取”它们,因为缺少更好的repo术语 我在Bitbucket上还有一个远程空白git repo,当我尝试git推送时,什么都不会发生。使用gi

我对Git相当缺乏经验。我刚刚使用了hg git扩展,通过将Mercurial回购转换为新的本地git回购,从而转换了一个有100多个分支的Mercurial回购。本地git repo有一个300mb.git文件夹,这在某种程度上与原始hg repo的大小一致,但git repo不包含实际的代码文件。显然,文件/变更集在.git文件夹中,但我不知道如何“提取”它们,因为缺少更好的repo术语


我在Bitbucket上还有一个远程空白git repo,当我尝试git推送时,什么都不会发生。

使用
git
命令查看存储库
git status
git log
git branch-a
…用mercurial术语来说,您是否在寻找更新工作文件夹的方法?