Skip to content

Commit 5d8b3e5

Browse files
committed
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
2 parents a70d782 + 5e495f8 commit 5d8b3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/howto/using-merge-subtree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Here is the command sequence you need:
3333

3434
----------------
3535
$ git remote add -f Bproject /path/to/B <1>
36-
$ git merge -s ours --no-commit Bproject/master <2>
36+
$ git merge -s ours --no-commit --allow-unrelated-histories Bproject/master <2>
3737
$ git read-tree --prefix=dir-B/ -u Bproject/master <3>
3838
$ git commit -m "Merge B project as our subdirectory" <4>
3939

0 commit comments

Comments
 (0)