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