$ git clone -n https://gitee.com/src-anolis-os/linuxdoc-tools.git /mnt/mock/kojid//dist-an23.3-riscv-build-437646-73130/root/chroot_tmpdir/scmroot/linuxdoc-tools Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437646-73130/root/chroot_tmpdir/scmroot/linuxdoc-tools'... $ git fetch origin f39fb023556c4a2f8d739c3ca92cc207124eb635:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/linuxdoc-tools * [new ref] f39fb023556c4a2f8d739c3ca92cc207124eb635 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f39fb02 Init package from upstream