$ git clone -n https://gitee.com/src-opencloudos-rpms/postgresql /var/lib/mock/module-postgresql-12-8100020260309182130-2a16b704-build-235635-82174/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8100020260309182130-2a16b704-build-235635-82174/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin 1630643e7aa2eedc44ccfcf55ab509010abfc825:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/postgresql * [new ref] 1630643e7aa2eedc44ccfcf55ab509010abfc825 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1630643 import postgresql-12.22-6.module+el8.6.0+849+35852d65