Skip to content

Instantly share code, notes, and snippets.

Endrit Bytyqi endrit-b

Block or report user

Report or block endrit-b

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
endrit-b /
Created Jan 5, 2019 — forked from gitaarik/
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

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.
endrit-b / mini_deb_conf.txt
Last active Apr 26, 2018
ElasticSearch 5.x - A practical overview of ES features
View mini_deb_conf.txt
POST /my-index/my-doc/1
"body": "foo"
GET /my_index/my_doc/_search
endrit-b /
Last active Sep 14, 2016
Git submodule operations

To manually add a repo as a gitsubmodule, run this:

git submodule add dest/dir

To commit and push from a master module and its submodules, run followings:

You can’t perform that action at this time.