git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/

Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 4 of 9 in “Git repository mesh?”
  1. Nguyen Thai Ngoc DuyNov 25, 2009
  2. Matthieu MoyNov 25, 2009
  3. Nguyen Thai Ngoc DuyNov 25, 2009
  4. Matthieu MoyNov 25, 2009
  5. Nguyen Thai Ngoc DuyNov 25, 2009
  6. Jakub NarebskiNov 25, 2009
  7. Matthieu MoyNov 25, 2009
  8. SergioNov 25, 2009
  9. Alex RiesenNov 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.