Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/15.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
git子模块更新--init返回空白_Git_Bash_Minecraft - Fatal编程技术网

git子模块更新--init返回空白

git子模块更新--init返回空白,git,bash,minecraft,Git,Bash,Minecraft,我遵循了两套说明: 但我的问题就在这句话之后: git submodule update --init 根据说明,在我运行上面的命令之后,我需要“等待它完成下载”,除非没有任何东西下载。它只是在按enter键后立即返回,没有任何消息 我在谷歌上搜索了一些关于“git submodule update--init”如何返回空白的信息,但我似乎无法将这些知识应用到我的情况中 这是我的终端输出: minecraft@localhost:~/testserver$ git clone https:

我遵循了两套说明:

但我的问题就在这句话之后:

git submodule update --init
根据说明,在我运行上面的命令之后,我需要“等待它完成下载”,除非没有任何东西下载。它只是在按enter键后立即返回,没有任何消息

我在谷歌上搜索了一些关于“git submodule update--init”如何返回空白的信息,但我似乎无法将这些知识应用到我的情况中

这是我的终端输出:

minecraft@localhost:~/testserver$ git clone https://hub.spigotmc.org/stash/scm/spigot/spigot.git
Cloning into 'spigot'...
remote: Counting objects: 14823, done.
remote: Compressing objects: 100% (5480/5480), done.
remote: Total 14823 (delta 12828), reused 11073 (delta 9328)
Receiving objects: 100% (14823/14823), 2.97 MiB | 0 bytes/s, done.
Resolving deltas: 100% (12828/12828), done.
Checking connectivity... done.

minecraft@localhost:~/testserver$ cd spigot/

minecraft@localhost:~/testserver/spigot$ git submodule update --init

minecraft@localhost:~/testserver/spigot$ ./applyPatches.sh
Rebuilding Forked projects....
./applyPatches.sh: line 40: cd: ../Bukkit: No such file or directory
./applyPatches.sh: line 11: cd: /home/minecraft/testserver/spigot/Bukkit: No such file or directory
fatal: ambiguous argument 'origin/spigot': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: repository 'Bukkit' does not exist
./applyPatches.sh: line 20: cd: /home/minecraft/testserver/spigot/Spigot-API: No such file or directory
Resetting Spigot-API to Bukkit...
error: Could not remove config section 'remote.upstream'
fatal: ambiguous argument 'upstream/upstream': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
  Applying patches to Spigot-API...
Resolve operation not in progress, we are not resuming.
Applying: POM Changes
fatal: sha1 information is lacking or useless (pom.xml).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 POM Changes
The copy of the patch that failed is found in:
   /home/minecraft/testserver/spigot/.git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
  Something did not apply cleanly to Spigot-API.
  Please review above details and finish the apply then
  save the changes with rebuildPatches.sh
minecraft@localhost:~/testserver$git clonehttps://hub.spigotmc.org/stash/scm/spigot/spigot.git
克隆到“插口”。。。
远程:计数对象:14823,完成。
远程:压缩对象:100%(5480/5480),完成。
远程:总计14823(增量12828),重复使用11073(增量9328)
接收对象:100%(14823/14823),2.97 MiB | 0字节/秒,完成。
解析增量:100%(12828/12828),完成。
正在检查连接。。。完成。
minecraft@localhost:~/testserver$cd插口/
minecraft@localhost:~/testserver/spiget$git子模块更新--init
minecraft@localhost:~/testserver/spiget$。/applyPatches.sh
重建分叉项目。。。。
./applyPatches.sh:第40行:cd:../Bukkit:没有这样的文件或目录
./applyPatches.sh:第11行:cd:/home/minecraft/testserver/spiget/Bukkit:没有这样的文件或目录
致命:参数“原点/插口”不明确:未知修订或路径不在工作树中。
使用“---”将路径与修订分开,如下所示:
'吉特[…]-[…]'
致命:存储库“Bukkit”不存在
./applyPatches.sh:第20行:cd:/home/minecraft/testserver/spiget/spigotapi:没有这样的文件或目录
正在将插口API重置为Bukkit。。。
错误:无法删除配置节“remote.upstream”
致命:参数“上游/上游”不明确:未知修订或路径不在工作树中。
使用“---”将路径与修订分开,如下所示:
'吉特[…]-[…]'
正在将修补程序应用于插口API。。。
解决操作未在进行中,我们不会继续。
应用:POM变化
致命:sha1信息缺失或无用(pom.xml)。
存储库缺少必要的BLOB以支持三方合并。
无法退回到三方合并。
修补程序在0001 POM更改时失败
在以下位置找到失败修补程序的副本:
/home/minecraft/testserver/spiget/.git/rebase apply/patch
解决此问题后,运行“git am--continue”。
如果您希望跳过此修补程序,请运行“git am--skip”。
要恢复原始分支并停止修补,请运行“git am--abort”。
有些东西并没有完全应用于spigetapi。
请查看以上详细信息,然后完成申请
使用rebuildPatches.sh保存更改

看来开发人员必须解决IMO的一个问题。据我所知,该回购协议中没有子模块。@DarkFalcon谢谢!我真是个笨蛋!修订版{6b9c932ab4f6ac051fab4f2f60cc7bf4949216c7}中的子模块条目在{{Wed Nov 26 08:27:08 2014+1100}删除。所以长期以来,这些方向一直是错误的。