I followed the potential solution in
Detach (move) subdirectory into separate Git repository
My requirement is similar but only slightly different Hope someone could provide some easy solution.
Say I have the following repo:
node-browser-compat
├── ArrayBuffer
├── Audio
├── Blob
├── FormData
├── atob
├ ├──aaa.xyz
├── btoa
├── location
└── navigator
I want to have a new repo abcd
which has all of btoa
and aaa.xyz
in it while retaining the history of both btoa
and aaa.xyz
.
Any help will be highly appreciated.
Note: If I already have an empty repo called abcd
, instructions to moving btoa
and aaa.xyz
into abcd
will also help.