$ git clone -n https://gitee.com/src-opencloudos-rpms/python-psycopg2 /var/lib/mock/module-python27-2.7-8050020220619111603-c7643c7d-build-9723-1357/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python27-2.7-8050020220619111603-c7643c7d-build-9723-1357/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git reset --hard 306bde50e7ab91921bf06824363336b4f25e5250 HEAD is now at 306bde5 import python-psycopg2-2.7.5-7.module_oc8.5.0+743+cd2f5d28