From: Timur Tabi Date: Fri, 05 Feb 2010 16:23:11 GMT Subject: How can I tell if a file has been updated upstream? Message-ID: Is there a way for me to tell if a particular file in my repository has an update in the upstream repository? For example, the SHA of the HEAD is different in the remote repository than it is of the HEAD in the local repository. The reason I ask is that I have a set of Python scripts that I distribute via git (other people in the company clone my repository). I want my script, every time it's run, to check if an update is available, and ask the user to do "git pull". -- Timur Tabi Linux kernel developer at Freescale