Closed jozefrebjak closed 2 years ago
It appears that you have two issues.
$BASE
and then calling git checkout
against it. At this point in the script you got this error message:fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
This makes me think Git was unable to identify your starting branch so $BASE = HEAD
. Make sure you aren't in detached HEAD state when running the script.
post-update-command
specified in your composer.json. I can add a --no-verify
flag to the commit step but in the meantime try disabling your "post-" commands before running patch
. @MGatner Removing post-update-command
was a solution.
Great! Please leave this Issue open as a reminder to add --no-verify
.
It seems as an issue with PHPStan.