Re: Git repository mesh?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Nov 25, 2009, 11:54 UTC
- Message-ID
- <vpqy6lues5j.fsf@bauges.imag.fr>
- In-Reply-To
- <fcaeb9bf0911250000u395c0153q43c8c7a60ca9b876@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 16 quoted lines
> On Wed, Nov 25, 2009 at 2:55 PM, Matthieu Moy > <Matthieu.Moy@grenoble-inp.fr> wrote: >> Nguyen Thai Ngoc Duy <pclouds@gmail.com> 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".
Then, fetch from all of them and:
git log ^HEAD repo1/master repo2/master repo3/master
-- Matthieu Moy http://www-verimag.imag.fr/~moy/