Home > Q&A > body text
I built a git repository on vps and wrote some commands in the post-receive file in its hooks:
When submitting through git locally, a problem occurs:
But when I execute pm2 on the server, it is normal. Does anyone know why?
Thank you very much.