-
-
Save serweb-labs/69c3937c11258dccbc19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// usr/bin/git debes verificar que se la ruta correcta en tu serve | |
// con el comando wich git, esto te regresa la ruta donde esta instalado git | |
//Este archivo debe de estar alojado dentro del directorio del repositorio | |
$out = shell_exec("/usr/bin/git pull 2>&1"); | |
var_dump($out); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment