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