Let say I have code for application and two libraries in my repository.
$ tree -d .
.
├── app
├── libA
└── libB
At some point the libA
is growing complex. I would like to make it a new separated repository for easy management. And to be able to use with another application.
Is there any way to extracted only files in libA
along with its history to created new repository without any history of other files outside?