diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-30 15:43:49 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-30 15:43:49 +0900 |
commit | 5d8b3e5d8b5e11e4c931c29e27d835449eae56af (patch) | |
tree | d474c5b8915ebb4ad8ac57323b8c7a2b478d9d26 /Documentation | |
parent | Merge branch 'cb/compat-mmap-is-private-read-only' (diff) | |
parent | howto/using-merge-subtree: mention --allow-unrelated-histories (diff) | |
download | tgif-5d8b3e5d8b5e11e4c931c29e27d835449eae56af.tar.xz |
Merge branch 'uk/merge-subtree-doc-update'
Belated documentation update to adjust to a new world order that
happened a yew years ago.
* uk/merge-subtree-doc-update:
howto/using-merge-subtree: mention --allow-unrelated-histories
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/howto/using-merge-subtree.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/howto/using-merge-subtree.txt b/Documentation/howto/using-merge-subtree.txt index 1ae8d1214e..a499a94ac2 100644 --- a/Documentation/howto/using-merge-subtree.txt +++ b/Documentation/howto/using-merge-subtree.txt @@ -33,7 +33,7 @@ Here is the command sequence you need: ---------------- $ git remote add -f Bproject /path/to/B <1> -$ git merge -s ours --no-commit Bproject/master <2> +$ git merge -s ours --no-commit --allow-unrelated-histories Bproject/master <2> $ git read-tree --prefix=dir-B/ -u Bproject/master <3> $ git commit -m "Merge B project as our subdirectory" <4> |