$ git clone -n https://gitee.com/wb-qtt862918/zlib.git /var/lib/mock/dist-an7_9-updates-build-155649-52034/root/chroot_tmpdir/scmroot/zlib Cloning into '/var/lib/mock/dist-an7_9-updates-build-155649-52034/root/chroot_tmpdir/scmroot/zlib'... $ git reset --hard d036ef676c8efa9ff3f1725587df9c78522dced0 HEAD is now at d036ef6 optimise spec file