$ git clone -n https://gitee.com/src-anolis-os/ipxe.git /var/lib/mock/dist-an23.3-build-416081-72865/root/chroot_tmpdir/scmroot/ipxe Cloning into '/var/lib/mock/dist-an23.3-build-416081-72865/root/chroot_tmpdir/scmroot/ipxe'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ipxe * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 89606e0 update to 20240119-5.gitde8a0821