$ git clone -n https://gitee.com/src-opencloudos-rpms/postgresql /var/lib/mock/module-postgresql-10-8050020220620090327-c7643c7d-build-10446-1738/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-10-8050020220620090327-c7643c7d-build-10446-1738/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 7ee47df763825b6bade7dc85e40858cddb2039d1 HEAD is now at 7ee47df import postgresql-10.17-2.module_oc8.5.0+865+7313c562