git submodule update in post-receive hook ignores -C

后端 未结 0 1145
太阳男子
太阳男子 2021-02-20 13:40

I try to write a post-receive hook to build a static webpage, but the git submodule update --init command fails. The script runs successfully when not run by the hook.

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题