$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2 /var/lib/mock/dist-oc8-build-34361-10771/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc8-build-34361-10771/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/oc8 HEAD is now at a37a561 Debrand for OpenCloudOS