Git Repository inside other Git Repository

use “Git Submodules”

> git submodule add https://url/example.git Target-Folder


“Although is a subdirectory in your working directory, Git sees it as a
submodule and doesn’t track its contents when you’re not in that directory. Instead, Git sees it as a particular commit from that repository.” (

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.