Dowloading Whole Repos - 487959867345/pygit-ext GitHub Wiki

pygit-ext implements this in a way similar to downloading individual files

Here is some example code

gitext.Download.download_repo('mytoken','username/PyGix-ext','dir_path',['.py'])```

mytoken is equal to your GitHub personal access token or PAT for short.

To specify a repo to download simply copy the name.

dir_path is the local directory path you want to put the files into.

and the list at the end is to specify extensions you want to ignore such as .txt .py .md, ect.