$ git clone -n https://gitee.com/src-anolis-os/qatengine.git /var/lib/mock/dist-an8-build-63752-35824/root/chroot_tmpdir/scmroot/qatengine Cloning into '/var/lib/mock/dist-an8-build-63752-35824/root/chroot_tmpdir/scmroot/qatengine'... $ git reset --hard origin/a8 HEAD is now at c3b1340 update to qatengine-0.6.7-1.el8