Created
January 25, 2014 02:31
-
-
Save maxivak/8610898 to your computer and use it in GitHub Desktop.
git examples
This file contains 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
#!/bin/sh | |
echo | |
echo "**** get changes for TEST App" | |
echo | |
cd /var/www/html/testapp || exit | |
unset GIT_DIR | |
git pull origin master | |
echo | |
echo "*** Update PROD " | |
echo | |
cd /var/www/html/app || exit | |
unset GIT_DIR | |
git pull origin production | |
exec git-update-server-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment