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