$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2 /var/lib/mock/dist-oc8-build-66426-16669/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc8-build-66426-16669/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/grub2 * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5001f2c import grub2-2.02-150.tl3.1