$ git clone -n https://gitee.com/src-opencloudos-rpms/postgresql /var/lib/mock/module-postgresql-12-8100020260928080839-2a16b704-build-250652-84026/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8100020260928080839-2a16b704-build-250652-84026/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin 9a4538433c87ef9060ce29ca6ff7b53dace262e5:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/postgresql * [new ref] 9a4538433c87ef9060ce29ca6ff7b53dace262e5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a45384 import postgresql-12.22-12.module+el8.6.0+980+b2d6e85c