dotfiles/.config/yadm/bootstrap

12 lines
350 B
Plaintext
Raw Normal View History

2021-03-28 17:20:49 +02:00
#!/bin/sh
# 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
2021-03-28 17:23:44 +02:00
echo "Updating the yadm repo origin URL"
yadm remote set-url origin "git@github.com:MoritzBoehme/dotfiles.git"