$ git clone -n https://gitee.com/src-anolis-os/libxmlb.git /var/lib/mock/dist-an8.6-build-169461-58800/root/chroot_tmpdir/scmroot/libxmlb Cloning into '/var/lib/mock/dist-an8.6-build-169461-58800/root/chroot_tmpdir/scmroot/libxmlb'... $ git reset --hard 536346bebd50efadf9f5db70772812fce981ec1f HEAD is now at 536346b optimise spec file & add doc package