$ git clone -n https://gitee.com/src-anolis-os/libSM.git /var/lib/mock/dist-an8-poc-build-105158-45599/root/chroot_tmpdir/scmroot/libSM Cloning into '/var/lib/mock/dist-an8-poc-build-105158-45599/root/chroot_tmpdir/scmroot/libSM'... $ git reset --hard origin/a8-poc HEAD is now at 19dd205 spec: add doc sub package