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