$ git clone -n https://gitee.com/src-anolis-os/libcacard.git /var/lib/mock/dist-an8.6-build-125078-46180/root/chroot_tmpdir/scmroot/libcacard Cloning into '/var/lib/mock/dist-an8.6-build-125078-46180/root/chroot_tmpdir/scmroot/libcacard'... $ git reset --hard ebe16d110b9e6300242c328252c6b26168101e1f HEAD is now at ebe16d1 Add doc sub package