$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8.4-keentune-build-63898-36006/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8.4-keentune-build-63898-36006/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/dev-1.0.0-5 HEAD is now at ed2ede3 bump to 1.0.0-5