$ git clone -n https://gitee.com/wb-qtt862918/dhcp.git /var/lib/mock/dist-an23-build-266223-64039/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-an23-build-266223-64039/root/chroot_tmpdir/scmroot/dhcp'... $ git reset --hard acca568bbd572b338554de3d5fc066bfb02ef6d0 HEAD is now at acca568 Refactor the specfile and remove devel-doc sub-package