$ git clone -n https://git.cclinux.org/stage/rpms/python-psycopg2 /mnt/compose/mock/module-python38-3.8-8090020240203110206-71b83295-build-110715-66991/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/mnt/compose/mock/module-python38-3.8-8090020240203110206-71b83295-build-110715-66991/root/chroot_tmpdir/scmroot/python-psycopg2'... warning: redirecting to https://git.cclinux.org/stage/rpms/python-psycopg2.git/ $ git fetch origin df99a08f8f36485e06d716e9ffeb5f9d598c1371:KOJI_FETCH_HEAD warning: redirecting to https://git.cclinux.org/stage/rpms/python-psycopg2.git/ From https://git.cclinux.org/stage/rpms/python-psycopg2 * [new ref] df99a08f8f36485e06d716e9ffeb5f9d598c1371 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df99a08 import python-psycopg2-2.8.4-4.module+el8.9.0+19598+4a60c7b7