I want to move all my files from Git Repo A to Git Repo B with complete history. Git B already contains another project files. I tried several ways such as
How to move files from one git repo to another (not a clone), preserving history
I tried executing all the commits via terminal. But I am getting "git filter-branch fatal:myDirectory/: 'myDirectory' is outside repository Could not get the commits"
while executing git filter-branch --subdirectory-filter muDirectory -- --all
.
I need detailed guidance with step by step procedure to move all files from one repo to another. Would appreciate any help, Thanks in advance.