$ git clone -n https://gitee.com/src-anolis-os/tree.git /mnt/mock/kojid//dist-an23.3-riscv-build-439545-73130/root/chroot_tmpdir/scmroot/tree Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439545-73130/root/chroot_tmpdir/scmroot/tree'... $ git fetch origin 43eabcc3abb5a7c1655a31a8a7a43c4149aec020:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tree * [new ref] 43eabcc3abb5a7c1655a31a8a7a43c4149aec020 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 43eabcc init from upstream