How to copy one repo entirely to another repo with history.
I don't want to use fork or mirroring options, I tried out branch-filter options but it is limited to one directory. git filter-branch --subdirectory-filter /../RepoA/dire1
I was referring below url https://medium.com/@ayushya/move-directory-from-one-repository-to-another-preserving-git-history-d210fa049d4b/
Example: Source Target Requirement ------ ---- ------------------- RepoA RepoB(new Repo) Copy entire history - Dir1 - Dir1 - Dir2 - Dir2
Could you please suggest?