Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Correct way to pull using subtree merge without guesswork?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:51

Manuel Reimer [off-list ref] writes:
git pull -s subtree -X subtree=path/to/subtree externalproject master

Returns with success, but is "-X subtree=" the right way to force a
subtree path and disallow git to autodetect the subtree?
More or less. Note that with the syntax, you cannot still express the
distinction between mapping the root of external to path/to/subtree of
your current tree and mapping the other way around, but that is not an
issue in practice.

By the way, I had an impression that "-X subtree" makes "-s subtree"
redundant and unnecessary.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help