$ git clone -n https://gitee.com/src-anolis-sig/keentune_target.git /var/lib/mock/dist-an8.4-keentune-build-60513-33481/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an8.4-keentune-build-60513-33481/root/chroot_tmpdir/scmroot/keentune_target'... $ git reset --hard origin/dev-1.0.0-5 HEAD is now at f2a0364 update