I am new to GIT and stash code management. i am working on the GIT to stash code migration. As of now we are having single GIT repository in which multiple modules exists which can be regroup in different multiple repositories. Now i have to segregate the code into multiple repositories in stash.
For Example : current GIT repository repo.git contains the directory in below structure :
A (repository) --
|--- A1 (module)
|-- A1.1 (submodule)
|-- A1.2
|--- A2
|-- A2.1
|-- A2.2
|-- A2.3
|--- A3
|-- A3.1
what i need is to divide code in stash as below :
A1 (repository)
|-- A1.1 (module)
|-- A1.2
|-- A2.1
|-- A2.2
A2
|-- A2.3
|-- A3.1
How can i move code from GIT to stash with history??
Thanks in advance.