$ git clone -n https://gitee.com/src-anolis-os/libpq.git /var/lib/mock/dist-an23-loongarch-build-308802-66339/root/chroot_tmpdir/scmroot/libpq Cloning into '/var/lib/mock/dist-an23-loongarch-build-308802-66339/root/chroot_tmpdir/scmroot/libpq'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libpq * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d963b45 optimize spec file