Files
cdtestplant_v1/提交github的shell.py
2025-04-29 18:09:00 +08:00

7 lines
215 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")