From: Matthieu Moy Date: Wed, 25 Nov 2009 11:54:32 GMT Subject: Re: Git repository mesh? Message-ID: In-Reply-To: Nguyen Thai Ngoc Duy writes: > 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". Then, fetch from all of them and: git log ^HEAD repo1/master repo2/master repo3/master -- Matthieu Moy http://www-verimag.imag.fr/~moy/