Can anyone guide me on how to move a git directory into a subdirectory?
The current directory structure is as follows:
/bigproject
--.git
--partA/
--partB/
I want to make it like:
/bigproject
--partA/
--.git
--partB/
I do not care about the history of partB, I will make a new git directory in there. I do want the history for partA kept when I move it into the partA directory.
How would I accomplish this? This guide tries to accomplish something similar but different: Detach (move) subdirectory into separate Git repository