From 0dba6de2f77d797ec60c89b1c50c9bd53bc71505 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 16 Feb 2017 06:59:57 -0600 Subject: [PATCH] Change to `$HOME` in submodule example --- _docs/037_bootstrap.md | 4 ++++ 1 file changed, 4 insertions(+) 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 ```