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

How to share the same commits offline?

From
TSTobias Sarnowski <sarnowski@cosmocode.de>
Date
Jun 29, 2007, 15:28 UTC
Message-ID
<46852503.8090407@cosmocode.de>
Hi,

I am very happy with git and I am using it now on every project I develop, thanks Linus! My question is, how can I share objects with another repository without a direct connection?

If I create patches with git-format-patch I am loosing the commit id informations, so the copied tags loose their target too. I want to be able to distribute changes by e-mail without loosing the sha1 ids. (Just dump copying the .git/object files and updateing the .git/refs only cause errors - I did not grab the source codes enough to understand the connections)

Thanks, Tobias Sarnowski

Next: Jakub Narebski
Message 1 of 2 in “How to share the same commits offline?”
  1. Tobias SarnowskiJun 29, 2007
  2. Jakub NarebskiJun 29, 2007

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.