$ git clone -n https://gitee.com/src-anolis-os/logrotate.git /var/lib/mock/dist-an23-build-264530-63955/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an23-build-264530-63955/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard origin/a23 HEAD is now at 9e891f0 Use config file rather than hard-code prog names for zstd