fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

AUTOMATIC1111 `update_repo` failing, better to add a `git reset --hard`

Open doegox opened this issue 3 years ago • 1 comments

Hello Automatic update_repo fails on AUTOMATIC1111 notebook. It's because webui.sh got locally modified (exec mode). You could add !rm /content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.sh but it's probably easier and cleaner to replace all the !rm by a single git reset --hard to prepare the repo for the !git pull.

doegox avatar Oct 15 '22 09:10 doegox

Hi, Won't that overwrite all the files, some users like to customize their webui, i'll go with the rm for now

TheLastBen avatar Oct 15 '22 10:10 TheLastBen