【发布时间】:2018-03-05 18:40:46
【问题描述】:
嗨,我收到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-submodules git-subtree