$ git clone -n https://gitee.com/src-anolis-os/qatengine.git /var/lib/mock/dist-an8-plus-build-234089-62671/root/chroot_tmpdir/scmroot/qatengine Cloning into '/var/lib/mock/dist-an8-plus-build-234089-62671/root/chroot_tmpdir/scmroot/qatengine'... $ git reset --hard origin/a8 HEAD is now at 98b936f update to version 0.6.19