$ git clone -n https://gitee.com/src-anolis-os/logrotate.git /var/lib/mock/dist-an23-loongarch-build-309205-66339/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an23-loongarch-build-309205-66339/root/chroot_tmpdir/scmroot/logrotate'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/logrotate * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9e891f0 Use config file rather than hard-code prog names for zstd