git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help merging two repo without connection
@ 2008-11-16 14:59 Luca Siciliano Viglieri
  2008-11-16 15:06 ` Sverre Rabbelier
  2008-11-16 15:33 ` Peter Harris
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Siciliano Viglieri @ 2008-11-16 14:59 UTC (permalink / raw)
  To: git

Hi,
i'm trying to keep synched two repositories without always having a   
direct connection.
My situation is the following:
I have a project on my computer with GIT repo.
Another developer visited me and cloned my repository connecting the  
two computer (for example via  SSH).
Than i sent him for the next days patched of my changes but when he  
came and we merged i got the following tree:

                                                               /  
-------------------------------------------(my patch)--(my second  
patch)--\
                                                              /                                                                                                                      \
-- (first commit) -- (second  
commit 
)                                                                                                                        (merge 
) --
                                                               
\                                                                                                                      /
                                                               \ (my  
patch)--(my second patch)--------------------------------------------/


I don't thinks its right to have double (or more?) commits. I would  
have expected something like:


-- (first commit) -- (second commit)  -- (my patch)--(my second  
patch)  --  (merge?) --


The patches were created with git-format-patch and merged with git-am.
I know that the commits have different sha1 but how can i keep with  
patches or something similar the two repositories exactly synched?

Thanks

Luca Siciliano

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-16 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-16 14:59 Help merging two repo without connection Luca Siciliano Viglieri
2008-11-16 15:06 ` Sverre Rabbelier
2008-11-16 15:33 ` Peter Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).