$ git clone -n https://gitee.com/src-anolis-os/pesign.git /mnt/mock/kojid//dist-an23.3-riscv-build-438437-73130/root/chroot_tmpdir/scmroot/pesign Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438437-73130/root/chroot_tmpdir/scmroot/pesign'... $ git fetch origin a3ffc39261a4ab5319f17c2b5e3a42c5483c20c9:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pesign * [new ref] a3ffc39261a4ab5319f17c2b5e3a42c5483c20c9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a3ffc39 init package