I want the Hook script to run so that if I push from the source tree, I can detect it from the AGitea server and push it to another B Repository.
I confirmed that the push command works when executed manually. Has no syntax error
However, when pushing from server A local to server A, the command did not work. Add the following command to the post-receive of the path below
cd C:\Source
git push B test
(D:\data\gitea-repositories\A.git>hooks)
Check the app.ini file in the post-receive.d file to the Security tab
DISABLE_GIT_HOOKS = false added status