Quick description of issue: I have a remote repo (on GoDaddy server, not my choice :S ) with a post-receive hook that pushes chages to live site files. This all works great, but how do I get the repo to detect changes to the live site code if someone FTPs in and changes something?
At the moment Git doesn't detect any changes so I don't know if I'm writing over someones else on our team's changes... :(
Any help would be awesome.
Until then I'll just download any files off the server before I work on them, that way at least I'll have the latest versions downloaded to my local repo. We are not likely to modify the same files at the same time in the future.
Thanks guys, your help is greatly appreciated.