mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Change to $HOME
in submodule example
This commit is contained in:
parent
6164fa32d2
commit
0dba6de2f7
@ -43,6 +43,10 @@ initialize them after a successful clone.
|
|||||||
```bash
|
```bash
|
||||||
#!/bin/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"
|
echo "Init submodules"
|
||||||
yadm submodule update --recursive --init
|
yadm submodule update --recursive --init
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user