mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-10-27 08:14:26 -04:00
12 lines
186 B
Bash
Executable File
12 lines
186 B
Bash
Executable File
#!/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
|