How to move files from one repo to another repo having different directory structure without loosing history of source repo in Git.
Example - Suppose I have an old repo (repoA) which has all the files with history. Now I want to move these files to a new repo (repoB) with different directory structure. The constraint is repoB should have the history of files as in repoA when moving.
Please help on this.
repoA| |-src | |-resources |
repoB| |-src/xyz | |-resuorces/xyz