expect ssh, not https method for clone

This commit is contained in:
2024-11-06 13:23:54 +01:00
parent c1e4702866
commit 8ba1dd623b

View File

@@ -1,10 +1,10 @@
#!/bin/sh
export REPO="https://github.com/kevinmidboe/dotfiles"
export REPO="git@github.com:KevinMidboe/dotfiles"
export DOT_CONFIG_FOLDER="$HOME/.config"
# clone dotfiles repo
echo "Cloning github repo"
git clone --depth=1 $REPO $DOT_CONFIG_FOLDER
git clone --depth=1 -b main $REPO $DOT_CONFIG_FOLDER
cd $DOT_CONFIG_FOLDER