Quick correction:
# Replace USERNAME with your GitHub username
# Replace TOKEN with your Personal Access Token
import os
# Set your GitHub credentials
GITHUB_USERNAME = "YOUR_GITHUB_USERNAME"
GITHUB_TOKEN = "YOUR_GITHUB_TOKEN_HERE"
# Clone the private repo using HTTPS, including username and token
!git clone https://{GITHUB_USERNAME}:{GITHUB_TOKEN}@github.com/repo_name/team_123.git
No comments:
Post a Comment