File size: 345 Bytes
46af882
 
592872f
3709b46
49ecdb0
46af882
 
 
32797c4
46af882
31391be
1
2
3
4
5
6
7
8
9
10
11
12
import os, shutil
from git import Repo
token = os.getenv("githubpublictokenclassic")


currentpath = "repo_directory"
if os.path.exists(currentpath):
  shutil.rmtree(currentpath)
os.mkdir(currentpath)

Repo.clone_from('https://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:x-oauth-basic@github.com/zubairahmed-ai/IndexFilesWithGPT.git', currentpath)