Say I have a git repository with the structure:
my-repo/
.git/
directory-one/
[...]
directory-two/
[...]
I need to split the repo into two repositories (one for directory-one
and the other for directory-two
). I'd like to maintain the history of each of those subdirectories, but no code from directory-one
can appear in the history of directory-two
, and vice versa.
Is this possible?