$ git clone -n https://gitee.com/opencloudos-stream/libdnf.git /var/lib/mock/dist-ocs23-base-build-288328-28008/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-ocs23-base-build-288328-28008/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 fc1197a Rebuilt for clarifying the packages requirement in BaseOS and AppStream