*edit files* git add . git commit -m "Made changes bla bla bla" git push testing master *tests testing.example.com* *seems to be working* *makes a few changes so I can commit* git add . git commit -m "Go live bla bla" git push live master *goes to example.com* *whooaa!*
cd /path/to/you/project && git submodule update --init
#!/bin/sh unset $(git rev-parse --local-env-vars) cd /var/www/myFuelPHPApp sudo -u www-data git reset --hard HEAD sudo -u www-data git pull sudo -u www-data git submodule foreach git pull origin 1.1/develop
git ALL = (www-data) NOPASSWD: /usr/bin/git
It looks like you're new here. If you want to get involved, click one of these buttons!