7 lines
209 B
Python
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") |