Files
cdTestPlant3/提交github的shell.py
2023-06-04 20:01:58 +08:00

7 lines
209 B
Python

#os.system(command)
import os,time
comment = input('请输入提交的标记名称:')
os.system("git add .")
os.system(f"git commit -m {comment}")
os.system("git push origin main --force")
os.system("pause")