git-squash
Squash multiple commits into a single commit. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-squash>.
RUN apt-get update && \
apt-get install -y git-extras
RUN apt-get update && \
apt-get install -y git-extras
RUN apt-get update && \
apt-get install -y git-extras
RUN dnf install -y git-extras
RUN apt-get update && \
apt-get install -y git-extras