Moving a git subtree into different repository
问题 I try to move a directory and all its history from repository to another repository. Extracting the complete history of the directory is easy with git subtree split . This creates a new branch, which can easily be fetched to the other repository. Now I used git subtree add to paste the directory back into the second repository. If I look at gitk or git log --decorate --graph everything looks fine. All commits are present as expected. Also all the files are present as expected. But when I try