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:
parent
a01b66408b
commit
6da0c7a3dc
1 changed files with 1 additions and 9 deletions
10
install
10
install
|
@ -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" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue