mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-14 02:09:36 +00:00
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:
parent
1ee3d5a22c
commit
ec256f0e3a
1 changed files with 7 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue