mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-09 06:59:30 +01:00
Supress detached head warning
This commit is contained in:
parent
df14913c67
commit
a111d9b18a
@ -33,7 +33,7 @@ if "%update_branch%"=="" (
|
|||||||
@cd sd-ui-files
|
@cd sd-ui-files
|
||||||
|
|
||||||
@call git reset --hard
|
@call git reset --hard
|
||||||
@call git checkout "%update_branch%"
|
@call git -c advice.detachedHead=false checkout "%update_branch%"
|
||||||
@call git pull
|
@call git pull
|
||||||
|
|
||||||
@cd ..
|
@cd ..
|
||||||
|
@ -16,7 +16,7 @@ if [ -f "scripts/install_status.txt" ] && [ `grep -c sd_ui_git_cloned scripts/in
|
|||||||
cd sd-ui-files
|
cd sd-ui-files
|
||||||
|
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git checkout "$update_branch"
|
git -c advice.detachedHead=false checkout "$update_branch"
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -23,7 +23,7 @@ if exist "%cd%\profile" (
|
|||||||
|
|
||||||
@call git reset --hard
|
@call git reset --hard
|
||||||
@call git pull
|
@call git pull
|
||||||
@call git checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
@call git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
||||||
|
|
||||||
@call git apply ..\ui\sd_internal\ddim_callback.patch
|
@call git apply ..\ui\sd_internal\ddim_callback.patch
|
||||||
@call git apply ..\ui\sd_internal\env_yaml.patch
|
@call git apply ..\ui\sd_internal\env_yaml.patch
|
||||||
@ -41,7 +41,7 @@ if exist "%cd%\profile" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
@cd stable-diffusion
|
@cd stable-diffusion
|
||||||
@call git checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
@call git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
||||||
|
|
||||||
@call git apply ..\ui\sd_internal\ddim_callback.patch
|
@call git apply ..\ui\sd_internal\ddim_callback.patch
|
||||||
@call git apply ..\ui\sd_internal\env_yaml.patch
|
@call git apply ..\ui\sd_internal\env_yaml.patch
|
||||||
|
@ -23,7 +23,7 @@ if [ -e "scripts/install_status.txt" ] && [ `grep -c sd_git_cloned scripts/insta
|
|||||||
|
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull
|
git pull
|
||||||
git checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
||||||
|
|
||||||
git apply ../ui/sd_internal/ddim_callback.patch
|
git apply ../ui/sd_internal/ddim_callback.patch
|
||||||
git apply ../ui/sd_internal/env_yaml.patch
|
git apply ../ui/sd_internal/env_yaml.patch
|
||||||
@ -41,7 +41,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd stable-diffusion
|
cd stable-diffusion
|
||||||
git checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
|
||||||
|
|
||||||
git apply ../ui/sd_internal/ddim_callback.patch
|
git apply ../ui/sd_internal/ddim_callback.patch
|
||||||
git apply ../ui/sd_internal/env_yaml.patch
|
git apply ../ui/sd_internal/env_yaml.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user