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