$ git clone -n https://gitee.com/src-anolis-os/libsmi.git /var/lib/mock/dist-an8.6-build-125144-46180/root/chroot_tmpdir/scmroot/libsmi Cloning into '/var/lib/mock/dist-an8.6-build-125144-46180/root/chroot_tmpdir/scmroot/libsmi'... $ git reset --hard d11d8990d82582f7db63581050b0a663ab961563 HEAD is now at d11d899 spec: add doc sub package