Använd en git repo för versionshantering och sedan använd git hooks för att automatiskt flytta till production.
http://net.tutsplus.com/tutorials/to...ith-git-hooks/
EDIT: Om du inte orkar se hela klippet:
http://stackoverflow.com/questions/2...using-git-push