$ git clone -n https://src.fedoraproject.org/rpms/ocaml.git /var/lib/mock/f42-build-865434-173111/root/chroot_tmpdir/scmroot/ocaml Cloning into '/var/lib/mock/f42-build-865434-173111/root/chroot_tmpdir/scmroot/ocaml'... $ git fetch origin 5018fa7019c262dbfb0402f9cc0f1e19b33d16d3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ocaml * [new ref] 5018fa7019c262dbfb0402f9cc0f1e19b33d16d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5018fa7 New upstream version 5.3.0