$ git clone -n https://gitee.com/src-anolis-os/elinks.git /mnt/mock/kojid//dist-an23.3-riscv-build-441244-73168/root/chroot_tmpdir/scmroot/elinks Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-441244-73168/root/chroot_tmpdir/scmroot/elinks'... $ git fetch origin b788cac9acbbe4865f7c70265fa2268af3234af9:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/elinks * [new ref] b788cac9acbbe4865f7c70265fa2268af3234af9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b788cac 0.16.1.1