$ git clone -n https://gitee.com/src-anolis-os/postgresql.git /var/lib/mock/dist-an23.4-build-537417-83069/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/dist-an23.4-build-537417-83069/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin a23.4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/postgresql * [new branch] a23.4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1b0bcec update to version 15.18