Mohammed Davoodi
Mohammed Davoodi

Reputation: 53

Add multiple small git repo's to a larger repository

I made a wrapper project using GitPython that works with git repositories. The tests I wrote use some small repositories I created. Is there any way to add these repositories and their .git files to my main repo?

Upvotes: 1

Views: 67

Answers (1)

bundacia
bundacia

Reputation: 1036

Check out submodules: http://git-scm.com/book/en/Git-Tools-Submodules

They allow you to embed one git repo in another.

Upvotes: 3

Related Questions