$ git clone -n https://gitee.com/src-opencloudos-rpms/dnf-plugins-core /var/lib/mock/dist-oc8-build-30807-9200/root/chroot_tmpdir/scmroot/dnf-plugins-core Cloning into '/var/lib/mock/dist-oc8-build-30807-9200/root/chroot_tmpdir/scmroot/dnf-plugins-core'... $ git reset --hard origin/oc8 HEAD is now at 03b665c import dnf-plugins-core-4.0.21-14.1.oc8