在更新项目,使用命令
git submodule update --init --recursive
出现这种提示
commit 996e03b949aea176238e3c7a8452700bbb987ac9
Author: christopher <christopher@christopher>
Date: Wed Jul 3 23:00:44 2013 -0400
many many changes
error: Could not read 984c11abfc9c2839b386f29c574d9e03383fa589
fatal: Failed to traverse parents of commit 235ae1f48701d577d71ebd430344a159e5ba4881
根据观察是因为项目库引用的分支问题。
解决方法:
找到对应第三方库位置D:\TorchCraftAI\3rdparty\pytorch\third_party,单独克隆子项目
git clone --recursive [address]
完成之后再回到上级目录,使用项目初始化命令
git submodule update --init --recursive