$ git clone -n https://gitee.com/src-anolis-os/pcp.git /mnt/mock/kojid//dist-an23.3-riscv-build-438191-73130/root/chroot_tmpdir/scmroot/pcp Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438191-73130/root/chroot_tmpdir/scmroot/pcp'... $ git fetch origin 80ea48638cfbd7e2ee987086e11a7414b4c313a2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pcp * [new ref] 80ea48638cfbd7e2ee987086e11a7414b4c313a2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 80ea486 update to pcp-6.3.2-1