$ git clone -n https://src.fedoraproject.org/rpms/kgpg.git /var/lib/mock/f42-build-864319-172280/root/chroot_tmpdir/scmroot/kgpg Cloning into '/var/lib/mock/f42-build-864319-172280/root/chroot_tmpdir/scmroot/kgpg'... $ git fetch origin 302f036d7bab893400c776c22b96ba9f9256ade7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kgpg * [new ref] 302f036d7bab893400c776c22b96ba9f9256ade7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 302f036 24.12.0