hook - Git hook, how do you write it on the server?
伊谢尔伦
伊谢尔伦 2017-05-02 09:24:05
0
1
589

PHP I heard that there are 3 commands that can directly execute bash commands (exec, shell_exec, proc_open)

How do you usually execute it? Just execute git pull? , other languages ​​are also fine

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
漂亮男人

I usually use exec 了,git pull 的话我一般会加 -f directly to prevent modification failures on the server, although it is generally unlikely.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template