$ git clone -n https://gitee.com/src-anolis-os/dhcp.git /var/lib/mock/dist-an23-loongarch-build-307376-66339/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-an23-loongarch-build-307376-66339/root/chroot_tmpdir/scmroot/dhcp'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dhcp * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at acca568 Refactor the specfile and remove devel-doc sub-package