Re: tracking a file from another project in my own project

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

Re: tracking a file from another project in my own project

From: Sergei Organov <hidden>
Date: 2016-06-15 22:44:07

Jakub Narebski [off-list ref] writes:
picca [off-list ref] writes:
quoted
Junio C Hamano [off-list ref] wrote:
[...]
quoted
quoted
Or "merge -s subtree".
I read the git help merge -s explanation but I do not understand how
it can help in my case.
Using subtree merge strategy you can join histories of your project
and git.git, embedding git.git as a subdirectory like gitk and git-gui
are now in git.git.  It is an alternative to using submodules.
Is subtree merge strategy documented?

$ grep subtree Documentation/merge-strategies.txt
$

-- Sergei.

Re: tracking a file from another project in my own project

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:07

Sergei Organov wrote:
Jakub Narebski [off-list ref] writes:
quoted
picca [off-list ref] writes:
quoted
Junio C Hamano [off-list ref] wrote:
[...]
quoted
quoted
quoted
Or "merge -s subtree".
I read the git help merge -s explanation but I do not understand how
it can help in my case.
Using subtree merge strategy you can join histories of your project
and git.git, embedding git.git as a subdirectory like gitk and
git-gui are now in git.git.  It is an alternative to using
submodules. 
Is subtree merge strategy documented?

$ grep subtree Documentation/merge-strategies.txt
$
Documentation/howto/using-merge-subtree.txt

But I agree that it should be also described, or at least mentioned
in Documentation/merge-strategies.txt
-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help