$ git clone -n https://gitee.com/src-opencloudos-rpms/libdnf.git /var/lib/mock/dist-oc8-build-74625-50888/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-oc8-build-74625-50888/root/chroot_tmpdir/scmroot/libdnf'... $ git fetch origin 2d02c0c91e30382c501181f6b23d773d9e4b15a5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libdnf * [new ref] 2d02c0c91e30382c501181f6b23d773d9e4b15a5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2d02c0c import libdnf-0.63.0-19.tl3