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
从Github中删除本地回购_Git_Github - Fatal编程技术网

从Github中删除本地回购

从Github中删除本地回购,git,github,Git,Github,我是Github的新手,所以这个问题看起来很基本。我尝试使用以下链接将文件夹内容上载到Github repo: 稍后,我想对第一个文件夹的父文件夹执行相同的操作,但我无法再访问Github上第一个文件夹的内容。有一个警告 You've added another git repository inside your current repository. Clones of the outer repository will not contain the contents of the emb

我是Github的新手,所以这个问题看起来很基本。我尝试使用以下链接将文件夹内容上载到Github repo:

稍后,我想对第一个文件夹的父文件夹执行相同的操作,但我无法再访问Github上第一个文件夹的内容。有一个警告

You've added another git repository inside your current repository.
Clones of the outer repository will not contain the contents of
the embedded repository and will not know how to obtain it.

我正在尝试撤消第一步,以便执行第二步。

第一个文件夹将包含一个可能被隐藏的文件夹.git。该.git文件夹包含关于第一个文件夹的所有存储库信息,包括修订历史记录、配置、元数据等。如果您不再需要它,只需删除它,然后在父存储库中提交并推送。

内部文件夹中有一个名为.git的文件夹。你可能看不到它,但它就在那里。您可以像删除任何其他文件夹一样删除它。