$ git clone -n https://src.fedoraproject.org/rpms/ocaml-optint.git /var/lib/mock/f45-build-56439-983/root/chroot_tmpdir/scmroot/ocaml-optint Cloning into '/var/lib/mock/f45-build-56439-983/root/chroot_tmpdir/scmroot/ocaml-optint'... $ git fetch origin 76b4ce3733fb85f4801cf00ddd1c212aaf8c5e09:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ocaml-optint * [new ref] 76b4ce3733fb85f4801cf00ddd1c212aaf8c5e09 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 76b4ce3 Initial RPM