嗨,我得到fatal: reference is not a tree: 947a3c67349eb242a8d46d576e544f8129b28cbf
Unable to checkout '947a3c67349eb242a8d46d576e544f8129b28cbf' in submodule path 'modules/webform'
我的工作站如下:
[root]:
.gitmodules
/modules/webform
里面.gitmodules我有:
[submodule "modules/webform"]
path = modules/webform
url = https://git.drupal.org/project/webform.git
我已经进入模块/ webform和git pull
我也有git submodule sync
,它给了我Synchronizing submodule url for 'modules/webform'
。我甚至硬重置该目录。我想知道是否有办法删除该引用/重置到最新版本?当我git log
它给我的参考是一个bad object
。
我不得不更新我的git --version
。我在1.7,最新是2.1或者其他什么。