$ git clone -n https://gitee.com/src-opencloudos-rpms/dnf.git /var/lib/mock/dist-oc8-build-74555-50694/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-oc8-build-74555-50694/root/chroot_tmpdir/scmroot/dnf'... $ git fetch origin e712709b7985118a005a854d3b985e389ad70803:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dnf * [new ref] e712709b7985118a005a854d3b985e389ad70803 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e712709 import dnf-4.7.0-20.tl3