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
#This script allows you to push the latest changes to remote git repo upon notebook deactivation
#This works with git clone through ssh. If you use https to clone the repo, you could be prompted to enter username/pw which would cause the script to fail
# Set variables
REMOTE_REPO="<remote_repository>" # Replace with the URL of your remote Git repository
BRANCH="<branch_name>" # Replace with the name of the branch you want to push changes to
COMMIT_MESSAGE="<commit_message>" # Replace with the commit message you want to use
CLONE_DIR="path/to/local/repor" # Replace with the directory you want to version control