Difficulty: Beginner
Estimated Time: 10 minutes

git submodule - chapter 1 - add, init, clone

inspired by: https://github.com/Gazler/githug/blob/master/levels/submodule.rb

git clone for submodules

git clone with submodules

let's see what happened git status

Don’t stop now! The next scenario will only take about 10 minutes to complete.

git submodule - add, init, clone

Step 1 of 3

let's see what we have

ls -al

(cd module_repo && git log --graph && ls -al)

(cd main_repo && git log --graph && ls -al)

Terminal Host 2