$ git clone -n https://gitee.com/src-opencloudos-rpms/postgresql.git /var/lib/mock/dist-oc9-build-119317-70274/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/dist-oc9-build-119317-70274/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin 2cee55e8c035bf2da695d978e977eda59425d2d5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/postgresql * [new ref] 2cee55e8c035bf2da695d978e977eda59425d2d5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2cee55e import postgresql-15.9-1.tl4