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

Re: Using email between 2 developers to keep git repositories in sync

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jan 22, 2008, 22:22 UTC
Message-ID
<alpine.LNX.1.00.0801221713120.13593@iabervon.org>
In-Reply-To
<7A02F7D1-9EB0-43AB-96F9-DDD71D4EF5FE@mac.com>
On Tue, 22 Jan 2008, ab_lists@mac.com wrote:
Show 7 quoted lines
> Hello there,
> 
> I have been converted to git after reading good things about it. I have been
> using it with a personal project and so I'm familiar with the basics.
> However I need to share code with a co-developer. He also has a code base that
> I need access to. For several reasons, a shared server will not work so I was
> thinking of using email to send patches back and forth.

I think bundles or email or both is likely to be the correct solution, but you should know that you don't need a shared server if you each have a server the other can read from. Each of you sets up a public repository with the same basic history, and you each have local clones of your public repository, and you pull from the other into your local clone and (assuming you want to accept the other's changes) you do the merge and push to your own public server.

In fact, having a shared server is vaguely discouraged, since it means there's a repository that's no single individual's responsibility; it's just that it's often the case that the existing social structure is based on a group of co-maintainers of a single series.

	-Daniel
*This .sig left intentionally blank*
Previous: Mark LevedahlNext: Annard Brouwer
Message 7 of 9 in “Using email between 2 developers to keep git repositories in sync”
  1. ab_lists@mac.comJan 22, 2008
  2. Johannes SchindelinJan 22, 2008
  3. Jakub NarebskiJan 22, 2008
  4. Mark LevedahlJan 22, 2008
  5. ab_lists@mac.comJan 22, 2008
  6. Mark LevedahlJan 22, 2008
  7. Daniel BarkalowJan 22, 2008
  8. Annard BrouwerJan 22, 2008
  9. Theodore TsoJan 22, 2008

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.