$ git clone -n https://gitee.com/src-anolis-os/cockpit.git /mnt/mock/kojid//dist-an23.3-riscv-build-440617-73130/root/chroot_tmpdir/scmroot/cockpit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-440617-73130/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin 85fd7fe2085d3fcee80ab15f852dd163dfae0d86:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cockpit * [new ref] 85fd7fe2085d3fcee80ab15f852dd163dfae0d86 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 85fd7fe update to cockpit-332