$ git clone -n https://gitee.com/src-opencloudos-rpms/grubby /var/lib/mock/dist-oc8-build-31605-9241/root/chroot_tmpdir/scmroot/grubby Cloning into '/var/lib/mock/dist-oc8-build-31605-9241/root/chroot_tmpdir/scmroot/grubby'... $ git reset --hard origin/oc8 HEAD is now at dfe624a import grubby-8.40-47.oc8