當我運行作曲家更新我得到這個錯誤:運行時異常與作曲家更新和KnpPaginatorBundle
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Updating knplabs/knp-paginator-bundle (dev-master 5386aa8 => 2.4.0)
[RuntimeException]
Failed to execute git status --porcelain --untracked-files=no
fatal: bad object HEAD
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]
而且我已經不知道該如何解決這個問題。我可以通過其他方式更新KnpPaginatorBundle嗎?
我該怎麼做才能解決它?