mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-12-06 07:12:11 +01:00
11 lines
185 B
Bash
11 lines
185 B
Bash
#!/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 |