$ git clone -n https://gitee.com/src-anolis-os/ppp.git /var/lib/mock/dist-an23-loongarch-build-320254-67906/root/chroot_tmpdir/scmroot/ppp Cloning into '/var/lib/mock/dist-an23-loongarch-build-320254-67906/root/chroot_tmpdir/scmroot/ppp'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ppp * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f52b659 2.5.0