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