Git post-receive hook acts differently to shell

后端 未结 2 904
Happy的楠姐
Happy的楠姐 2021-01-22 00:34

I\'m trying to setup a git repo on my live server to automatically update a subdomain on receive. Using this guide http://toroid.org/ams/git-website-howto.

hooks

2条回答
  •  逝去的感伤
    2021-01-22 00:53

    The permissions on the worktree do not allow it to be read which causes the fatal: This operation must be run in a work tree error.

提交回复
热议问题