$ git clone -n https://gitee.com/src-anolis-os/grep.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-476178-74119/root/chroot_tmpdir/scmroot/grep Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-476178-74119/root/chroot_tmpdir/scmroot/grep'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grep * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 389247a 3.11