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