$ git clone -n https://gitee.com/mgb01105731/libpq.git /var/lib/mock/dist-an23.3-build-415661-72844/root/chroot_tmpdir/scmroot/libpq Cloning into '/var/lib/mock/dist-an23.3-build-415661-72844/root/chroot_tmpdir/scmroot/libpq'... $ git fetch origin 5b780b44eb344fa8eaa230fae6dc0c7106fbf798:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libpq * [new ref] 5b780b44eb344fa8eaa230fae6dc0c7106fbf798 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b780b4 Refer to CentOS Stream libpq-16.1-1(tdawson@redhat.com)