Running git command through a Phing ExecTask:
<exec command="git remote rm origin" dir="${build.src}" checkreturn="false" />
This works when phing build.setup
is executed directly from command prompt. However, the same process fails when run from a Git post-receive hook with this message: