$ git clone -n https://gitee.com/src-anolis-os/pigz.git /var/lib/mock/dist-an8.6-build-106043-45598/root/chroot_tmpdir/scmroot/pigz Cloning into '/var/lib/mock/dist-an8.6-build-106043-45598/root/chroot_tmpdir/scmroot/pigz'... $ git reset --hard 6e746b8eba3b7ea850ebd1b48a1587b0ff91de2f HEAD is now at 6e746b8 Add doc sub package