From: Florian Mickler Date: Tue, 07 Jul 2009 10:46:57 GMT Subject: Re: Checking for fast-forward Message-ID: <20090707124657.1b0fe4df@schatten> In-Reply-To: <4A530594.20100@drmicha.warpmail.net> On Tue, 07 Jul 2009 10:21:40 +0200 Michael J Gruber wrote: > If $(git rev-list bar..remotes/origin/foo) is empty then the branch > foo in the remote repo can be fast-forwarded to bar. > > Chhers, > Michael in that case you could also do 'git cherry bar origin/foo' that shows you all commits that are in origin/foo but not in bar. Sincerely, Florian