diff --git a/installer/installer/tasks/fetch_stable_diffusion_repo.py b/installer/installer/tasks/fetch_stable_diffusion_repo.py index aa9e47af..5125798e 100644 --- a/installer/installer/tasks/fetch_stable_diffusion_repo.py +++ b/installer/installer/tasks/fetch_stable_diffusion_repo.py @@ -23,7 +23,7 @@ def fetch_repo(): if not is_developer_mode: helpers.run("git reset --hard", run_in_folder=app.stable_diffusion_repo_dir_path) - helpers.run("git pull", run_in_folder=app.stable_diffusion_repo_dir_path) + helpers.run("git fetch origin", run_in_folder=app.stable_diffusion_repo_dir_path) helpers.run(f'git -c advice.detachedHead=false checkout "{commit_id}"', run_in_folder=app.stable_diffusion_repo_dir_path) else: helpers.log("\nDownloading Stable Diffusion..\n")