$ git clone -n https://src.fedoraproject.org/rpms/ocaml-SDL.git /var/lib/mock/f39-build-1665639-40750/root/chroot_tmpdir/scmroot/ocaml-SDL Cloning into '/var/lib/mock/f39-build-1665639-40750/root/chroot_tmpdir/scmroot/ocaml-SDL'... $ git fetch origin d71e3e04a76073367f7917fe3ebc5a95d3821fd2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ocaml-SDL * [new ref] d71e3e04a76073367f7917fe3ebc5a95d3821fd2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d71e3e0 Further adaptions for OCaml 5