1
Currently, I have a git repository with multiple folders, for example:
/pasta1
/pasta1/subpasta1-1
/pasta1/subpasta1-2
/pasta2
/pasta2/subpasta2-1
/pasta2/subpasta2-2
/pasta3
/pasta3/subpasta3-1
/pasta3/subpasta3-2
I want to make /pasta2/subpasta2-1
in a separate repository, because I want to push and share that code as a standalone feature. However, I want to keep this folder as part of the main repository, because its development goes hand in hand with the entire application it is part of.
How can I do it using git?
git branching ?
– Felipe