$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8-keentune-build-97814-45489/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8-keentune-build-97814-45489/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/a8-1.3.0 HEAD is now at f6c4a7a update to 1.3.0-0