$ git clone -n https://gitee.com/src-anolis-os/dhcp.git /mnt/mock/kojid//dist-an23.3-riscv-build-436055-73130/root/chroot_tmpdir/scmroot/dhcp Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436055-73130/root/chroot_tmpdir/scmroot/dhcp'... $ git fetch origin acca568bbd572b338554de3d5fc066bfb02ef6d0:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dhcp * [new ref] acca568bbd572b338554de3d5fc066bfb02ef6d0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at acca568 Refactor the specfile and remove devel-doc sub-package