$ git clone -n https://gitee.com/src-anolis-os/grub2.git /var/lib/mock/dist-an23-build-370699-71427/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23-build-370699-71427/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin c2bee48cf852e975001ce931afbac0a7740ec3bf:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grub2 * [new ref] c2bee48cf852e975001ce931afbac0a7740ec3bf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c2bee48 fix issue with new xfs superblock