dotfiles/.config/yadm/bootstrap.d/00-post-clone-repo.sh
Andrei Jiroh Halili ec256f0e3a
Update post-clone repo bootstrap script for git remotes stuff
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
2023-11-25 12:38:24 +08:00

9 lines
No EOL
309 B
Bash

#!/usr/bin/env sh
if [ ! -d "$HOME/.git" ]; then
echo "Symlinking ~/.git to ~/.local/share/yadm/repo.git for compatibility"
ln -s ~/.local/share/yadm/repo.git ~/.git
fi
git remote set-url origin ssh://git@mau.dev/andreijiroh.dev/dotfiles
git remote add hut ssh://git@git.sr.ht/~ajhalili2006/dotfiles