def checkout_2_commit(self, branch, commit):
    '\n        @todo 未完成\n        @param branch:\n        @param commit:\n        @return:\n        '
    PyRepo(self.path).git.checkout(branch)
    PyRepo(self.path).head.set_commit(commit)
@todo 未完成
@param branch:
@param commit:
@return:
def checkout_2_commit(self, branch, commit):
    '\n        @todo 未完成\n        @param branch:\n        @param commit:\n        @return:\n        '
    PyRepo(self.path).git.checkout(branch)
    PyRepo(self.path).head.set_commit(commit)