You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The token must be the git tokenclone_path=f"../{path}"shutil.rmtree(clone_path, ignore_errors=True)
callbacks=pygit2.RemoteCallbacks(pygit2.UserPass('x-oauth-basic', token))
cloned_repo=pygit2.clone_repository(repo_url, clone_path, callbacks=callbacks, checkout_branch=branch)