Recently I migrated from SVN to GIT using git-svn
.
Actual size of checkeded out code is ~24GB.
In GIT, currently I see only once branch as origin/master
. Hence if each developer clone master, he need to pull 24GB everytime, which is real pain.
So, I need to Mark some of the existing locations as branches, so that those can be checked out directly, instead of full repo.
project repo structure is like:
/Docs/
/project-maintainance/
/main-project/
/module1
/branch1
/branch2
/module2
/branch1
/branch2
/branch3
Now, to accomplish this task, I want to Mark some specific folders as branch, instead of creating new branches. I browsed through so many webpages, but it only increased my confusion as I'm a beginner.
How can branches be created from subfolder instead of top level folder?
Edit: Right now my aim is to be able to checkout multiple subtrees, push and pull changes.