RuntimeException: Could not delete docroot/core/.git/ ...
First sign of something going wrong, you do a composer update and get this in the middle:
[RuntimeException] Could not delete docroot/core/.git/hooks/applypatch-msg.sample:
You can get different messages, core path, whatever. Important to notice is that the process (composer) has been suddenly interrupted. Worst thing is that, after this, you just get:
[RuntimeException] Source directory docroot/core has unpushed changes on the current branch:
categorias