Hi, On Tue, May 19, 2009 at 04:35:37PM +0200, Marc Haber wrote: > I would like to check in a script whether there (a) are uncommitted > changes (as in "working tree differs from local repository") and/or > whether there (b) are unpulled changes in the "remote origin" > repository. (a) has been solved, thanks for helping. I am now looking for a solution for (b). I tried git log -n1 --pretty=oneline master..origin/master but that seems to always give empty output even if a later issued git pull will actually pull in changes. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html