In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
GET / | |
POST /my-index/my-doc/1 | |
{ | |
"body": "foo" | |
} | |
GET /my_index/my_doc/_search | |
{ |
git submodule add [email protected]:blla/repo/name.git dest/dir