remove --global git config from 1-click installers

This commit is contained in:
Lincoln Stein 2022-11-08 14:44:44 -05:00
parent 8004f8a6d9
commit b1a99a51b7
3 changed files with 3 additions and 3 deletions

View File

@ -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) @rem get the repo (and load into the current directory)
if not exist ".git" ( if not exist ".git" (
call git config --global init.defaultBranch main
call git init call git init
call git config --local init.defaultBranch main
call git remote add origin %REPO_URL% call git remote add origin %REPO_URL%
call git fetch call git fetch
# call git checkout origin/main -ft # call git checkout origin/main -ft

View File

@ -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) # get the repo (and load into the current directory)
if [ ! -e ".git" ]; then if [ ! -e ".git" ]; then
git config --global init.defaultBranch main
git init git init
git config --local init.defaultBranch main
git remote add origin "$REPO_URL" git remote add origin "$REPO_URL"
git fetch git fetch
git checkout origin/release-candidate-2-1-3 -ft git checkout origin/release-candidate-2-1-3 -ft

View File

@ -1,4 +1,4 @@
--prefer-binary # --prefer-binary
# pip will resolve the version which matches torch # pip will resolve the version which matches torch
albumentations albumentations