$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8-keentune-build-198292-60619/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8-keentune-build-198292-60619/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/a8 HEAD is now at 11d01d9 update to 2.0.1