$ git clone -n https://gitee.com/src-anolis-os/glibc.git /var/lib/mock/dist-an23.4-build-527231-79467/root/chroot_tmpdir/scmroot/glibc Cloning into '/var/lib/mock/dist-an23.4-build-527231-79467/root/chroot_tmpdir/scmroot/glibc'... $ git fetch origin a23.4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/glibc * [new branch] a23.4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40af24e LoongArch: sync fix from upstream