$ git clone -n https://src.fedoraproject.org/rpms/ksquares.git /var/lib/mock/f41-build-846385-163053/root/chroot_tmpdir/scmroot/ksquares Cloning into '/var/lib/mock/f41-build-846385-163053/root/chroot_tmpdir/scmroot/ksquares'... $ git fetch origin 8aed29ec35e0b2bb479e2775499cc7b6c9f587c3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ksquares * [new ref] 8aed29ec35e0b2bb479e2775499cc7b6c9f587c3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8aed29e 24.08.0