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
As complementary answer I would like to offer an alternative. I'm using git-ftp and it works fine.
https://github.com/git-ftp/git-ftp
Easy to use, only type:
git ftp push
and git will automatically upload project files.
Regards