Is it possible to deploy a website using git push? I have a hunch it has something to do with using git hooks to perform a git reset --hard on the
git push
git reset --hard
Giddyup are language-agnostic just-add-water git hooks to automate deployment via git push. It also allows you to have custom start/stop hooks for restarting web server, warming up cache etc.
https://github.com/mpalmer/giddyup
Check out examples.