Skip to contentSkip to conversation

How to share the same commits offline?

DISCUSSION Tobias Sarnowski 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

[Cc: [email protected]]

Quoted 3 lines · Tobias Sarnowski

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.

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git