$ git clone -n https://gitee.com/opencloudos-stream/logrotate.git /var/lib/mock/dist-ocs23-build-234355-20244/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-ocs23-build-234355-20244/root/chroot_tmpdir/scmroot/logrotate'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/logrotate * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d13d3d6 Rebuilt for loongarch release