$ git clone -n https://src.fedoraproject.org/rpms/erlang-basho_metrics.git /var/lib/mock/f41-build-820071-152072/root/chroot_tmpdir/scmroot/erlang-basho_metrics Cloning into '/var/lib/mock/f41-build-820071-152072/root/chroot_tmpdir/scmroot/erlang-basho_metrics'... $ git fetch origin 313c37dcfd4b15327abcc88f1c0648d38d64660b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/erlang-basho_metrics * [new ref] 313c37dcfd4b15327abcc88f1c0648d38d64660b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 313c37d Use Rebar3