$ git clone -n https://src.fedoraproject.org/rpms/ocaml.git /var/lib/mock/f40-build-739540-109072/root/chroot_tmpdir/scmroot/ocaml Cloning into '/var/lib/mock/f40-build-739540-109072/root/chroot_tmpdir/scmroot/ocaml'... $ git fetch origin 2ec55e949b92244d2b119f71e83c38a5ea878efc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ocaml * [new ref] 2ec55e949b92244d2b119f71e83c38a5ea878efc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ec55e9 Use BR ocaml-srpm-macros to force latest to be built against