$ git clone -n https://gitee.com/src-anolis-os/libnma.git /mnt/mock/kojid//dist-an23.3-riscv-build-437354-73130/root/chroot_tmpdir/scmroot/libnma Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437354-73130/root/chroot_tmpdir/scmroot/libnma'... $ git fetch origin 6bbc83233e4c5f89c18eec638a3c97c257a288c1:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libnma * [new ref] 6bbc83233e4c5f89c18eec638a3c97c257a288c1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6bbc832 Optimize the spec file