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

Re: How to create and keep up to date a naked/bare repository?

From
MCMathieu Chouquet-Stringer <ml2news@free.fr>
Date
Jan 27, 2006, 13:34 UTC
Message-ID
<m34q3p7q1n.fsf@localhost.localdomain>
In-Reply-To
<7vd5ie735a.fsf@assigned-by-dhcp.cox.net>
Thanks and sorry for making you write this long message...
junkio@cox.net (Junio C Hamano) writes:
Show 7 quoted lines
> [...]
>  - A mirror of somebody else's work.
> 
>    I suspect this is what you are doing.  Instead of individual
>    developers pulling directly from upstream, you would want to
>    fetch and update the bare cloned repository and have your
>    developers fetch from it.
Correct.
 
Show 28 quoted lines
> Let's outline how.
> 
> What I would suggest is to arrange things like this:
> 
>    +-------------------------------------------+
>    | Your upstream repository                  |
>    | git://git.kernel.org/pub/scm/git/git.git/ |
>    +-------------------------------------------+ 
>       |                                      ^
>       | (1)                                  | (5)
>       |                                      |
>       v                                      |
>    +-----------------+                     +----------------+
>    | Your central    |        (4)          | My development |
>    | bare repository |-------------------->| tree           |
>    +-----------------+                     +----------------+
>       |      ^
>       | (2)  | (3)
>       |      |
>       v      |
>    +------------------+
>    | Your developers' |+
>    | trees            ||+
>    +------------------+||
>      +-----------------+|
>       +-----------------+
> [...]
> Does this make sense now?

It totally does. I guess this email could end up in the Documentation folder in some way!?

-- 
Mathieu Chouquet-Stringer
    "Le disparu, si l'on vénère sa mémoire, est plus présent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exupéry, Citadelle --
Previous: Josef WeidendorferNext: Junio C Hamano
Message 10 of 14 in “[RFD] remembering hand resolve...”
  1. Junio C HamanoJan 25, 2006
  2. Andreas EricssonJan 25, 2006
  3. Junio C HamanoJan 25, 2006
  4. How to create and keep up to date a naked/bare repository?Mathieu Chouquet-Stringer, Jan 26, 2006
  5. Junio C HamanoJan 26, 2006
  6. Mathieu Chouquet-StringerJan 26, 2006
  7. Mathieu Chouquet-StringerJan 26, 2006
  8. Junio C HamanoJan 27, 2006
  9. Refs naming after clone (was: Re: How to create and keep up to date a naked/bare repository?)Josef Weidendorfer, Jan 27, 2006
  10. Mathieu Chouquet-StringerJan 27, 2006
  11. Junio C HamanoJan 27, 2006
  12. J. Bruce FieldsJan 27, 2006
  13. Junio C HamanoJan 27, 2006
  14. git-rerere: reuse recorded resolve.Junio C Hamano, Jan 29, 2006

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.