$ git clone -n https://gitee.com/src-opencloudos-rpms/python-psycopg2 /var/lib/mock/module-python39-3.9-8080020240530183340-8c1d297e-build-75041-51973/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python39-3.9-8080020240530183340-8c1d297e-build-75041-51973/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git fetch origin 1bef4792716bd8d5c78f38c2f314da97f91f8cca:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-psycopg2 * [new ref] 1bef4792716bd8d5c78f38c2f314da97f91f8cca -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1bef479 import python-psycopg2-2.8.6-3.module+el8.8.0+625+3d6c9dbf