$ git clone -n https://gitee.com/src-opencloudos-rpms/dnf.git /var/lib/mock/dist-oc9-build-118289-69187/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-oc9-build-118289-69187/root/chroot_tmpdir/scmroot/dnf'... $ git fetch origin cb8264405b64ef09b5a8259bdfd2f1d298b78e1a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dnf * [new ref] cb8264405b64ef09b5a8259bdfd2f1d298b78e1a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb82644 import dnf-4.16.2-5.tl4