- Clone this repo
git clone --recurse-submodules https://github.com/anselal/i3configs
This will clone the repo and all submodules
Another way of doing this which involves more steps
git clone https://github.com/anselal/i3configs
git submodule init
git submodule update
- Add submodule
git submodule add <repo>
- Update submodules
git submodule update