Thomas Step

← Blog

I recently launched a Slack app to help with channel bloat. Simply installing it would help me out a bunch. I have 1/10 installations required to submit my app to the Slack Marketplace. To say thank you for helping me, I am giving you a free 6 month trial.

Git Clone With Submodules

If a git repo has submodules in it there are two options I use for cloning the repo and cloning the submodules in it. The first method is cloning the submodules during the original clone.

git clone --recursive <url>

The second method is to clone the repo and then clone the submodules.

git clone <url>
cd <repo>
git submodule update --init
Categories: dev