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