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