1

I'm trying to merge one repository into another, as a subdirectory. The goal is to keep the history.

I've tried the top 3 methods here: How to import existing Git repository into another?

While they all complete successfully, when I do a git log myfile I only ever see my merge commit. I never see the full history of the file. However, if I do a git blame myfile I see all changes.

Maybe I don't understand the subtree merges, but shouldn't I see all the history for a file afterwards?

Allen Fisher
  • 607
  • 2
  • 7
  • 28

0 Answers0