未验证 提交 2f02e353 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4701 from Guozhanxin/file_check

【完善】file_check.py 中检查变更文件的逻辑
......@@ -84,6 +84,7 @@ class CheckOut:
try:
os.system('git remote add rtt_repo {}'.format(self.rtt_repo))
os.system('git fetch rtt_repo')
os.system('git merge rtt_repo/{}'.format(self.rtt_branch))
os.system('git reset rtt_repo/{} --soft'.format(self.rtt_branch))
os.system('git status > git.txt')
except Exception as e:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册