$ git clone -n https://src.fedoraproject.org/rpms/erlang-emmap.git /var/lib/mock/f41-build-854017-166804/root/chroot_tmpdir/scmroot/erlang-emmap Cloning into '/var/lib/mock/f41-build-854017-166804/root/chroot_tmpdir/scmroot/erlang-emmap'... $ git fetch origin a72b4c2e5aae14fd898923e854b384573b33b6cd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/erlang-emmap * [new ref] a72b4c2e5aae14fd898923e854b384573b33b6cd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a72b4c2 Spec-file cleanup