Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/70.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_Vim_Github_Macvim - Fatal编程技术网

由于存在目录,无法更新github中的子模块

由于存在目录,无法更新github中的子模块,git,vim,github,macvim,Git,Vim,Github,Macvim,我正在使用子模块控制MacVim中的插件。 当我尝试使用git update submodule 结果是: fatal: destination path 'bundle/ShowMark' already exists and is not an empty directory. Clone of 'git://github.com/vim-scripts/ShowMarks.git' into submodule path 'bundle/ShowMark' failed 我尝试了自己的解

我正在使用子模块控制MacVim中的插件。 当我尝试使用
git update submodule
结果是:

fatal: destination path 'bundle/ShowMark' already exists and is not an empty directory.
Clone of 'git://github.com/vim-scripts/ShowMarks.git' into submodule path 'bundle/ShowMark' failed
我尝试了自己的解决方案: 删除目录,然后
git更新子模块

它可以工作,但MacVim无法正常运行。MacVim无法打开任何新/旧文件。

MacVim有可能在
bundle/ShowMark
中打开文件,因为GitHub上的实际回购名称是
ShowMark**s**(.git)

如果子模块注册在
bundle/ShowMarks
中可能会更好

有关该步骤的更多信息,请参见“”。

您的问题非常不清楚。你能给我们提供更多关于什么在工作和不在工作的信息吗?我在“bundle/ShowMark”中有一个子模块,我不能通过
git submodule update
来更新它,因为它已经存在