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