$ git clone -n https://gitee.com/opencloudos-stream/grub2.git /var/lib/mock/dist-ocs23-build-133020-9422/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-ocs23-build-133020-9422/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/grub2 * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12f53d2 !6 update to version 2.12 Merge pull request !6 from nilusyi/master