How to deal with a git local folder within another? -


i have big git folder contains of programming studies. have clone remote git folder big folder, creating git working directory within one.

i want them co-exist because ide use (rstudio) create project based on git, , want rstudio project contained within smaller folder only.

is possible or cause trouble? in case, should clone small folder delete .git folder?

git has feature setup called git submodule allows include external git repositories within single project.

to use submodules save each of individual projects own git repository. in master project (your main programming studies git repository) include them using git submodule add <path-to-individual-project-repository> command.

after add submodules don't forget git submodule update --init checkout files individual projects.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -