diff --git a/_docs/037_bootstrap.md b/_docs/037_bootstrap.md index 978c435..f47925d 100644 --- a/_docs/037_bootstrap.md +++ b/_docs/037_bootstrap.md @@ -43,6 +43,10 @@ initialize them after a successful clone. ```bash #!/bin/bash +# Because Git submodule commands cannot operate without a work tree, they must +# be run from within $HOME (assuming this is the root of your dotfiles) +cd "$HOME" + echo "Init submodules" yadm submodule update --recursive --init ```