stable-diffusion-webui-docker/services/AUTOMATIC1111/clone.sh
PassiveLemon 4d05480e64 Merge + update
Merges the new changes from the master with some modifications to make Comfy follow the OCI compliance
2023-04-17 15:27:40 -04:00

12 lines
186 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