$ git clone -n https://src.fedoraproject.org/rpms/erlang.git /var/lib/mock/f41-build-860793-169197/root/chroot_tmpdir/scmroot/erlang Cloning into '/var/lib/mock/f41-build-860793-169197/root/chroot_tmpdir/scmroot/erlang'... $ git fetch origin cc3d6c8a984bfabe5b9ac8d7d4841e0e3bc3d578:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/erlang * [new ref] cc3d6c8a984bfabe5b9ac8d7d4841e0e3bc3d578 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cc3d6c8 Erlang ver. 26.2.5.4