$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2.git /var/lib/mock/dist-oc9-build-66810-17218/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc9-build-66810-17218/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin 658f47b524909c43751575ddaabf1cecad9026f1:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/grub2 * [new ref] 658f47b524909c43751575ddaabf1cecad9026f1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 658f47b import grub2-2.06-7.tl4