$ git clone -n https://gitee.com/src-anolis-os/git.git /mnt/mock/kojid//dist-an23.3-riscv-build-444013-73227/root/chroot_tmpdir/scmroot/git Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-444013-73227/root/chroot_tmpdir/scmroot/git'... $ git fetch origin b21837738e262a63a736a02ce99f6bf4bb60abfb:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/git * [new ref] b21837738e262a63a736a02ce99f6bf4bb60abfb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b218377 Update to 2.47.1 from 2.41.0