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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -