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