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