$ git clone -n https://gitee.com/src-anolis-os/vconfig.git /mnt/mock/kojid//dist-an23.3-riscv-build-439649-73130/root/chroot_tmpdir/scmroot/vconfig Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439649-73130/root/chroot_tmpdir/scmroot/vconfig'... $ git fetch origin db56efce484b465eeaf2b35e97cb7c41a48d31b4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/vconfig * [new ref] db56efce484b465eeaf2b35e97cb7c41a48d31b4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at db56efc fix the source error