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