From 95c1e24d9b940ab169ea3f937b2df01f1c3b5530 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sat, 22 Apr 2023 19:35:50 +0200 Subject: [PATCH] fixed install scripts --- webui.bat | 8 ++------ webui.sh | 6 ++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/webui.bat b/webui.bat index 89fbeb98..71fa7a3d 100644 --- a/webui.bat +++ b/webui.bat @@ -84,12 +84,8 @@ goto :GET_PERSONALITIES :CLONE_REPO echo Cloning repository... -git init -git remote add origin https://github.com/nomic-ai/gpt4all-ui.git -git fetch -git reset origin/main -git checkout -t origin/main -git pull origin main +git clone https://github.com/nomic-ai/gpt4all-ui.git . +git pull goto :GET_PERSONALITIES :GET_PERSONALITIES diff --git a/webui.sh b/webui.sh index 109c04a4..d277fefb 100644 --- a/webui.sh +++ b/webui.sh @@ -58,10 +58,8 @@ echo Pulling latest changes git pull origin main else echo Cloning repository... -git init -git remote add origin https://github.com/nomic-ai/gpt4all-ui.git -git pull origin main - +git clone https://github.com/nomic-ai/gpt4all-ui.git . +git pull fi # Download latest personalities