$ git clone -n https://gitee.com/wb-qtt862918/logrotate.git /var/lib/mock/dist-an7_9-updates-build-143016-52034/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an7_9-updates-build-143016-52034/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard 8511e4bf4f936d4e3adf226d57f33684046ab09d HEAD is now at 8511e4b update to 3.20.1