$ git clone -n https://gitee.com/fundawang/logrotate.git /var/lib/mock/dist-an23-build-264051-63943/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an23-build-264051-63943/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard 9e891f0c0f7574730aa1388028d0b46a5c61e3c0 HEAD is now at 9e891f0 Use config file rather than hard-code prog names for zstd