mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-11-27 14:14:02 -05:00
Add Forge
Add Automatic1111-Forge: https://github.com/lllyasviel/stable-diffusion-webui-forge
This commit is contained in:
10
services/AUTOMATIC1111/clone.sh
Normal file → Executable file
10
services/AUTOMATIC1111/clone.sh
Normal file → Executable file
@@ -1,11 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -Eeuox pipefail
|
||||
set -Eeox pipefail
|
||||
|
||||
mkdir -p /repositories/"$1"
|
||||
cd /repositories/"$1"
|
||||
git init
|
||||
git remote add origin "$2"
|
||||
git fetch origin "$3" --depth=1
|
||||
git reset --hard "$3"
|
||||
|
||||
if [ -n "$3" ]; then
|
||||
git fetch origin "$3" --depth=1
|
||||
git reset --hard "$3"
|
||||
fi
|
||||
|
||||
rm -rf .git
|
||||
|
||||
Reference in New Issue
Block a user