File size: 1,309 Bytes
87bd9ac 89c5fd5 2937a28 7a06aa4 dd0c147 87bd9ac |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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/CiaraStrawberry/TemporalKit", "folder": "/content/spidey/extensions/TemporalKit"},
{"url": "https://github.com/nolanaatama/microsoftexcel-supermerger", "folder": "/content/spidey/extensions/microsoftexcel-supermerger"},
{"url": "https://github.com/nolanaatama/microsoftexcel-roop", "folder": "/content/spidey/extensions/microsoftexcel-roop"},
]
for repo_info in repositories:
git_clone(repo_info["url"], repo_info["folder"]) |