$ git clone -n https://gitee.com/src-opencloudos-rpms/dnf.git /var/lib/mock/dist-oc8-build-38379-12415/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-oc8-build-38379-12415/root/chroot_tmpdir/scmroot/dnf'... $ git reset --hard origin/oc8 HEAD is now at 3950485 import dnf-4.7.0-16.tl3