On Tue, 19 May 2009, Marc Haber wrote: Hi Marc. > I would like to check in a script whether there (a) are uncommitted > changes (as in "working tree differs from local repository") # check working tree is not different from the index git diff --quiet # check that the index is not different from the head git diff --quiet --cached > and/or whether there (b) are unpulled changes in the "remote origin" > repository. Dunno, sorry. Tony. -- f.anthony.n.finch <dot@xxxxxxxx> http://dotat.at/ GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS. MODERATE OR GOOD. -- 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