Commit de40e86b by sikang

update script

parent a8024fd8
......@@ -89,7 +89,13 @@ class Shell:
print(" ")
commit_id = input("输入commit id: ")
os.system("git reset --hard %s"% commit_id)
command = "%s\n%s" \
% (
"cd %s" % config['root'],
"git reset --hard %s"% commit_id
)
os.system(command)
print(" ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment