Skip to content

Instantly share code, notes, and snippets.

View Gershon-A's full-sized avatar

Gershon Alvais Gershon-A

View GitHub Profile
@Gershon-A
Gershon-A / listing-and-cloning-github-org.py
Created December 9, 2024 13:56
Python script automates the process of listing and cloning all repositories from a specified GitHub organization
import requests
import git
import os
import time
# Replace with your GitHub organization and personal access token
GITHUB_ORG = ''
GITHUB_TOKEN = ''
# GitHub API URL to list repositories in an organization