$ git clone -n https://gitee.com/src-opencloudos-rpms/python3.12-psycopg2.git /var/lib/mock/dist-oc8-build-74854-51583/root/chroot_tmpdir/scmroot/python3.12-psycopg2 Cloning into '/var/lib/mock/dist-oc8-build-74854-51583/root/chroot_tmpdir/scmroot/python3.12-psycopg2'... $ git fetch origin cca71dd2fa4a3f0915b751a37f3e6d4092a082a6:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python3.12-psycopg2 * [new ref] cca71dd2fa4a3f0915b751a37f3e6d4092a082a6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cca71dd import python3.12-psycopg2-2.9.6-2.tl3