Answer the question
In order to leave comments, you need to log in
How to merge changes from git subtree?
Good afternoon. There are two separately started repositories - GUILibs and WorkProject. I decided to add the GUILibs repository as a subtree to the WorkProject. I did everything according to the subtree merging instructions . However, at the stage of the merge, an error occurs
fatal: refusing to merge unrelated histories
--allow-unrelated-histories
Answer the question
In order to leave comments, you need to log in
in general, to merge a subtree, there is a git subtree command : https://github.com/git/git/tree/master/contrib/subtree
in my opinion, it does everything you need under the hood
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question