github - How can one consolidate a number of .git folders & corresponding remote repositories into one super repository? -
i'm trying consolidate 15 local git folders (with subfolders & files) / 15 repositories 1 super folder / 1 super repository while maintaining each local folders git history , relationship respective repository (to become sub folder on git).
is possible? steps 1 need take make happen?
you should have git submodule approach.
first, create simple git repository. then, add each git folder want consolidate using following command (from main repo root):
git submodule add repo_url local_path each git submodule kept own history.
Comments
Post a Comment