$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2 /var/lib/mock/dist-oc8-build-33383-10087/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc8-build-33383-10087/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/oc8 HEAD is now at 0664ac6 debrand for openCloudOS