mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-06 23:14:03 +00:00
add forge support
This commit is contained in:
parent
802d0bcd68
commit
e9fa4e641a
5 changed files with 309 additions and 0 deletions
11
services/forge/clone.sh
Normal file
11
services/forge/clone.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -Eeuox 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"
|
||||
rm -rf .git
|
||||
Loading…
Add table
Add a link
Reference in a new issue