$ git clone -n https://gitee.com/src-anolis-os/libopenraw.git /var/lib/mock/dist-an8.6-build-141592-53871/root/chroot_tmpdir/scmroot/libopenraw Cloning into '/var/lib/mock/dist-an8.6-build-141592-53871/root/chroot_tmpdir/scmroot/libopenraw'... $ git reset --hard origin/a8 HEAD is now at d363bd9 Add doc sub package