Possible Duplicate:
Git Post-Receive Hook for Website Staging
I started learning Git today and I'm stuck on one thing.
When I push my local production repository to my remote staging repository, I would like to immediately be able to view my newly pushed files live. When I try to look for my files in my remote repository (via an FTP client), I can't find them.
Do I need to perform some advanced Git magic in order to achieve this (hooks?)? What is best practice for this situation?
Again, I'm new to Git and don't fully understand the concept yet. Maybe it's worth noting that I use a Webfaction Git application for the remote repository.
Edit: I saw this topic on SO, and I know how to create a post-commit hook but I have no idea what to put in the shell script.