Clone instead of initializing

Not sure why I would have done it that way. Suspect I had a good reason
that I'm going to find out about down the road when this bites me.
This commit is contained in:
Josh Sherman 2021-04-25 15:54:58 -05:00
parent a01b66408b
commit 6da0c7a3dc
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

10
install
View file

@ -13,17 +13,9 @@ GITCLONE="git clone --depth=1"
cd "$HOME" || exit
rm -rf "$DOTFILES"
mkdir "$DOTFILES"
git clone https://github.com/joshtronic/dotfiles.git "$DOTFILES"
cd "$DOTFILES" || exit
git init
git remote add origin https://github.com/joshtronic/dotfiles.git
git pull origin main
# Swap origin so I can make edits easily
git remote rm origin
git remote add origin git@github.com:joshtronic/dotfiles.git
rm -rf \
"$DOTCONFIG/nvim/init.vim" \
"$DOTFZF" \