$ git clone -n https://gitee.com/src-anolis-os/slang.git /mnt/mock/kojid//dist-an23.3-riscv-build-439447-73130/root/chroot_tmpdir/scmroot/slang Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439447-73130/root/chroot_tmpdir/scmroot/slang'... $ git fetch origin 0c376a0a23437bb279d95f7e8386874d9c13ec2c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/slang * [new ref] 0c376a0a23437bb279d95f7e8386874d9c13ec2c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c376a0 2.3.3