From: David Kastrup Date: Sun, 05 Aug 2007 11:42:49 GMT Subject: Re: How to figure out what 'git push' would do? Message-ID: <85ps228ax2.fsf@lola.goethe.zz> In-Reply-To: <267CDD46-549B-4BFE-B993-80CD1CFE75D8@zib.de> Steffen Prohaska writes: > How can I check what a 'git push' would do, without > actually doing it? > > Is there something like 'git push --dry-run', similar > to 'rsync --dry-run'? Wel, you could put #!/bin/sh cat >/tmp/dryrun exit 1 into $GIT_DIR/hooks/pre-receive on the receiving side. Or maybe the update hook. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum