1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

Change to $HOME in submodule example

This commit is contained in:
Tim Byrne 2017-02-16 06:59:57 -06:00
parent 6164fa32d2
commit 0dba6de2f7
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -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
```