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