The apache user has the execution permission to use sudo-uapachmcm on the server... & amp; gitpull can also pull updates, but there is a problem during Web access when the version library is the latest, you can get the command execution result Alreadyup-to-date... the apache user has the corresponding execution permission.
Use on the server
Sudo-u apache cd... & git pullYou can also pull updates.
However, a problem occurs during Web access.
When the version library is the latest, you can get the command execution result.Already up-to-date.
However, when the version library is not updated (with updates), no execution result feedback is provided and the command fails to be executed.
I am usingHttps: // username: password@git.oschina.net/username/project. gitPull updated
Reply content:
The apache user has the corresponding execution permission.
Use on the serverSudo-u apache cd... & git pullYou can also pull updates.
However, a problem occurs during Web access.
When the version library is the latest, you can get the command execution result.Already up-to-date.
However, when the version library is not updated (with updates), no execution result feedback is provided and the command fails to be executed.
I am usingHttps: // username: password@git.oschina.net/username/project. gitPull updated