$ git clone -n https://gitee.com/src-opencloudos-rpms/python-psycopg2 /var/lib/mock/module-python27-2.7-8080020240507103353-040061f3-build-73433-48988/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python27-2.7-8080020240507103353-040061f3-build-73433-48988/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git fetch origin b95fd80664e06ee8c99c335e404062d96bf2dd93:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-psycopg2 * [new ref] b95fd80664e06ee8c99c335e404062d96bf2dd93 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b95fd80 import python-psycopg2-2.7.5-8.module+el8.8.0+621+e6c1f1a6