$ git clone -n https://gitee.com/src-opencloudos-rpms/python-psycopg2 /var/lib/mock/module-python38-3.8_bootstrap-8050020220630051642-0294562b-build-12860-2548/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python38-3.8_bootstrap-8050020220630051642-0294562b-build-12860-2548/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git reset --hard 484c2a72103a79672b0ed2f03d37b2f9584a64b5 HEAD is now at 484c2a7 import python-psycopg2-2.8.4-4.module_oc8.5.0+742+dbad1979