$ git clone -n https://gitee.com/src-anolis-os/libedit.git /mnt/mock/kojid//dist-an23.3-riscv-build-437121-73130/root/chroot_tmpdir/scmroot/libedit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437121-73130/root/chroot_tmpdir/scmroot/libedit'... $ git fetch origin b3cd2fa135867012c819d4e6de9754f7f058c99f:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libedit * [new ref] b3cd2fa135867012c819d4e6de9754f7f058c99f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b3cd2fa update to 20221030-3.1