$ git clone -n https://gitee.com/src-anolis-os/edk2.git /var/lib/mock/dist-an23-build-445063-73188/root/chroot_tmpdir/scmroot/edk2 Cloning into '/var/lib/mock/dist-an23-build-445063-73188/root/chroot_tmpdir/scmroot/edk2'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/edk2 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c23b43a fix build error on riscv64