$ git clone -n https://gitee.com/src-opencloudos-rpms/dnf-plugins-core.git /var/lib/mock/dist-oc8-build-38344-12399/root/chroot_tmpdir/scmroot/dnf-plugins-core Cloning into '/var/lib/mock/dist-oc8-build-38344-12399/root/chroot_tmpdir/scmroot/dnf-plugins-core'... $ git reset --hard origin/oc8 HEAD is now at 2d07c91 import dnf-plugins-core-4.0.21-19.tl3