Files
CTToolsOld/提交github的shell.py
2026-01-28 16:57:46 +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")