$ git clone -n https://gitee.com/src-anolis-os/jose.git /var/lib/mock/dist-an23-loongarch-build-314046-67390/root/chroot_tmpdir/scmroot/jose Cloning into '/var/lib/mock/dist-an23-loongarch-build-314046-67390/root/chroot_tmpdir/scmroot/jose'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/jose * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 489a24b init from upstream