File size: 1,193 Bytes
66e9fa8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import git

def git_clone(repo_url, destination_folder):
    try:
        repo = git.Repo.clone_from(repo_url, destination_folder)
        print(f"Repository {repo_url} cloned successfully.")
    except git.exc.GitCommandError as e:
        print(f"Error cloning repository {repo_url}: {e}")

# Replace these with your desired repository URLs and destination folders
repositories = [
     
    {"url": "https://github.com/Uminosachi/sd-webui-inpaint-anything.git", "folder": "/content/spidey/extensions/sd-webui-inpaint-anything"},
    {"url": "https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git", "folder": "/content/spidey/extensions/sd-dynamic-thresholding"},
    {"url": "https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git", "folder": "/content/spidey/extensions/stable-diffusion-webui-images-browser"},
    {"url": "https://github.com/camenduru/sd-civitai-browser", "folder": "/content/microsoftexcel/extensions/sd-civitai-browser"},
    {"url": "https://github.com/ope123/ope123-additional-networks", "folder": "/content/ope123/extensions/ope123-additional-networks"},
]

for repo_info in repositories:
    git_clone(repo_info["url"], repo_info["folder"])