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