Is there a way to hook when a git pull happens on the remote (similar to a pre-receive or post-receive). Basically I\'d like to be able to cause the remote to commit whatever i
I have no direct experience with git hooks, and this page may help, but it doesn't look like you're going to be able to do it.
The easier (and better IMO) solution would be to use a repo other than the production environment as the authoritative source. Can you do this? A production environment is very rarely used as the authoritative source because latest and most stable are two very different things...
FYI, I only ever perform a git pull or git status when in a production environment. Any changes are made on my local repo, tested, committed, pushed to github, then pulled down to the production environment.
UPDATE
I should point out that one of the great strengths and features of git is that it is a distributed source control system. As such, there isn't really any such thing as an authoritative source.