git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to use git merge -s subtree?
@ 2008-01-05 23:00 Miklos Vajna
  2008-01-06  1:17 ` Sean
  2008-01-06  1:20 ` David Soria Parra
  0 siblings, 2 replies; 12+ messages in thread
From: Miklos Vajna @ 2008-01-05 23:00 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

hi,

i recently noticed that the subtree merge strategy is missing from
merge-strategies.txt an i tried to first figure out how it works. i got
it to work, but i'm not 100% sure about i'm using it the way i'm
supposed to.

here is what i do:

1) git remote add B /path/to/B.git
2) git fetch
3) mkdir B
4) touch B/.gitignore
5) git add B/.gitignore
6) git commit -m "add empty B directory"
7) git merge -s subtree B/master

and yes, it works pretty well, but is this the right way? or is it
possible to somehow avoid steps 3..6?

thanks,
- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2008-01-08  6:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 23:00 how to use git merge -s subtree? Miklos Vajna
2008-01-06  1:17 ` Sean
2008-01-06  1:22   ` David Soria Parra
2008-01-06  2:13     ` Sean
2008-01-06  2:28       ` David Soria Parra
2008-01-06  2:42         ` Junio C Hamano
2008-01-06  8:06           ` Sean
2008-01-07 21:04             ` Junio C Hamano
2008-01-08  5:34               ` Sean
2008-01-08  6:57                 ` Junio C Hamano
2008-01-06  3:45   ` Miklos Vajna
2008-01-06  1:20 ` David Soria Parra

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).