How to share the same commits offline?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

How to share the same commits offline?

From: Tobias Sarnowski <hidden>
Date: 2016-06-15 22:43:18

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

Re: How to share the same commits offline?

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:43:18

[Cc: git@vger.kernel.org]

Tobias Sarnowski wrote:
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?
Try git-bundle, since git version 1.5.1.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help