$ git clone -n https://gitee.com/src-anolis-os/libunistring.git /mnt/mock/kojid//dist-an23.3-riscv-build-437557-73130/root/chroot_tmpdir/scmroot/libunistring Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437557-73130/root/chroot_tmpdir/scmroot/libunistring'... $ git fetch origin c662eaa43d23142c3d9293980ff2e7576df99e63:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libunistring * [new ref] c662eaa43d23142c3d9293980ff2e7576df99e63 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c662eaa change spec file format