$ git clone -n https://gitee.com/src-anolis-os/cpio.git /mnt/mock/kojid//dist-an23.3-riscv-build-436002-73130/root/chroot_tmpdir/scmroot/cpio Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436002-73130/root/chroot_tmpdir/scmroot/cpio'... $ git fetch origin 435e6488f019e14c3671a7f28afe93f7c6a93f4c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cpio * [new ref] 435e6488f019e14c3671a7f28afe93f7c6a93f4c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 435e648 2.14