From: Nguyen Thai Ngoc Duy Date: Wed, 25 Nov 2009 08:00:28 GMT Subject: Re: Git repository mesh? Message-ID: In-Reply-To: On Wed, Nov 25, 2009 at 2:55 PM, Matthieu Moy wrote: > Nguyen Thai Ngoc Duy writes: > >> Never used Mercurial but the idea of "git in" and "git out" to see how >> many commits ahead/behind would be nice. > > In Git, you'd run "git fetch" to get everything locally, and then > > git log ..origin/master => what origin/master has that you don't > git log origin/master.. => what you have that origin/master doesn't > > (and you can define aliases for that) But I have many origins (any repository could be origin). "git status" also have this kind of information, but only for "origin". -- Duy