Update post-clone repo bootstrap script for git remotes stuff

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-11-25 12:38:24 +08:00
parent 1ee3d5a22c
commit ec256f0e3a
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8

View file

@ -1,4 +1,9 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if [ ! -d "$HOME/.git" ]; then
echo "Symlinking ~/.git to ~/.local/share/yadm/repo.git for compatibility" echo "Symlinking ~/.git to ~/.local/share/yadm/repo.git for compatibility"
ln -s ~/.local/share/yadm/repo.git ~/.git 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