$ git clone -n https://gitee.com/src-opencloudos-rpms/python-psycopg2 /var/lib/mock/module-python39-3.9-8050020220629092521-eadcb9d7-build-12466-2350/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python39-3.9-8050020220629092521-eadcb9d7-build-12466-2350/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git reset --hard 5e46952e70ee545ae46f6badec4803362a5419c0 HEAD is now at 5e46952 import python-psycopg2-2.8.6-2.module_oc8.5.0+738+dc19af12