$ git clone -n https://gitee.com/src-anolis-os/xhost.git /mnt/mock/kojid//dist-an23.3-riscv-build-439785-73130/root/chroot_tmpdir/scmroot/xhost Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439785-73130/root/chroot_tmpdir/scmroot/xhost'... $ git fetch origin 38aaab731dc163790ecaef9b5411d218b1d10524:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xhost * [new ref] 38aaab731dc163790ecaef9b5411d218b1d10524 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 38aaab7 optimize spec