$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2 /var/lib/mock/dist-oc8-build-26614-7552/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc8-build-26614-7552/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/oc8 HEAD is now at ccbcea4 update release