$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8.4-keentune-build-87909-42084/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8.4-keentune-build-87909-42084/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/dev-1.2.0-2 HEAD is now at 9d3d9ab update to version 1.2.0-2