$ git clone -n https://gitee.com/src-anolis-os/libSM.git /var/lib/mock/dist-an23-build-129592-46272/root/chroot_tmpdir/scmroot/libSM Cloning into '/var/lib/mock/dist-an23-build-129592-46272/root/chroot_tmpdir/scmroot/libSM'... $ git reset --hard origin/a23 HEAD is now at 6391e08 add doc package