fatal: reference is not a tree
dutchiexl opened this issue · 1 comments
dutchiexl commented
When updating the submodule an error pops up:
git submodule update --init
- branch HEAD -> FETCH_HEAD
fatal: reference is not a tree: 0ed6b9f1fe6084e25fb78689e5c7ec9b6dbb190c
Unable to checkout '0ed6b9f1fe6084e25fb78689e5c7ec9b6dbb190c' in submodule path 'wp'
tillkruss commented
Try fetching the submodule beforehand: git submodule foreach 'git fetch && git fetch --tags'