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