I know there are quite some topics & tutorials out there on how to move a folder to a different repository… incl the history.
However, all the proposed solutions I encountered so far, seem to have difficulties with files that moved from elsewhere.
I want to move FOLDER1 to a new repo. When using methods like filter-branch, it indeeds keeps all history for ‘foe’… as long as the history was located in FOLDER1.
Now, I have several items that moved from FOLDER2 to FOLDER1, having lots of history when it was in FOLDER2. The history for those items is always limited/chopped to FOLDER1, I can’t seem to transfer the history of ‘foe’ when it was still in FOLDER2…
Does anyone know if this is feasible? Seems strange that no one stumbled upon this before? I’m trying different approaches, currently trying to isolate FOLDER1 in a temp-repo & trying to clear the history of all orphan files that have nothing to do with the files in FOLDER1, no luck so far.
Thanks in advance,