superb-submission / hooks /post_gen_project.py
lewtun's picture
lewtun HF staff
Add template files
958473e
raw
history blame
215 Bytes
import subprocess
subprocess.call("git pull origin main".split())
subprocess.call(["git", "add", "."])
subprocess.call(["git", "commit", "-m", "Add template files"])
subprocess.call("git push origin main".split())