Suppose I have a project root directory called Root, and there are two directories Root/A and Root/B under it. I used svn to manage this project before, and B is the svn branch of A (created using svn cp
). Now the project has been migrated to git using git svn
, while the entire Root directory becomes a git repository.
I have encountered two problems which bother me for days:
- How can I make directory B continue to track A just like before, which means I can
cd B
andmerge
modifications of A? - Another problem is that before the project was migrated to git, the A directory still has some svn commits that are not merged into the B directory. How should I find these changes now and merge them into the B directory?
Thanks for your advice and help!