Re: Checking for fast-forward
- From
- Florian Mickler <florian@mickler.org>
- Date
- Jul 7, 2009, 10:46 UTC
- 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 <git@drmicha.warpmail.net> wrote:
Show 5 quoted lines
> 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