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