From b1a99a51b7ca23c4b895855bd7b4c82dbdc431e4 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Tue, 8 Nov 2022 14:44:44 -0500 Subject: [PATCH] remove --global git config from 1-click installers --- 1-click-installer/install.bat | 2 +- 1-click-installer/install.sh | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/1-click-installer/install.bat b/1-click-installer/install.bat index 4cc396b6d6..1054d05634 100644 --- a/1-click-installer/install.bat +++ b/1-click-installer/install.bat @@ -68,8 +68,8 @@ set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scrip @rem get the repo (and load into the current directory) if not exist ".git" ( - call git config --global init.defaultBranch main call git init + call git config --local init.defaultBranch main call git remote add origin %REPO_URL% call git fetch # call git checkout origin/main -ft diff --git a/1-click-installer/install.sh b/1-click-installer/install.sh index a86ce8755e..33f467845b 100755 --- a/1-click-installer/install.sh +++ b/1-click-installer/install.sh @@ -83,8 +83,8 @@ if [ -e "$INSTALL_ENV_DIR" ]; then export PATH="$INSTALL_ENV_DIR/bin:$PATH"; fi # get the repo (and load into the current directory) if [ ! -e ".git" ]; then - git config --global init.defaultBranch main git init + git config --local init.defaultBranch main git remote add origin "$REPO_URL" git fetch git checkout origin/release-candidate-2-1-3 -ft diff --git a/requirements.txt b/requirements.txt index 6f80d902d3..a78a00f342 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ ---prefer-binary +# --prefer-binary # pip will resolve the version which matches torch albumentations