$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-infra/python-tornado.git /var/lib/mock/dist-an8-infra-build-51037-23286/root/chroot_tmpdir/scmroot/python-tornado Cloning into '/var/lib/mock/dist-an8-infra-build-51037-23286/root/chroot_tmpdir/scmroot/python-tornado'... $ git reset --hard origin/a8 HEAD is now at 9546e36 Remove the code in the %check part.