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
# repo at https://github.com/SVVSDICAI/FishNetStreamCapture
import os
from git import Repo
import sys
PATH_OF_GIT_REPO = r'./FishNetStreamCapture'
COMMIT_MESSAGE = "automated update"
GITHUB_KEY = os.getenv('GITHUB_KEY')
if len(sys.argv) > 1 and sys.argv[1] == "init": # if this file is run from the terminal (python RepoUpdate.py init) to initialize the github login info and clone the repo to the current directory
# if the user provides a repo link, use that instead of the default PATH_OF_GIT_REPO