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