$ git clone -n https://gitee.com/src-anolis-os/libreport.git /var/lib/mock/dist-an23-loongarch-build-308829-66339/root/chroot_tmpdir/scmroot/libreport Cloning into '/var/lib/mock/dist-an23-loongarch-build-308829-66339/root/chroot_tmpdir/scmroot/libreport'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libreport * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a2cf4e Optimize the spec file