$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8.4-keentune-build-93213-44890/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8.4-keentune-build-93213-44890/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/a8-1.2.1-1 HEAD is now at 23b63d7 update .spec