This is an example of a specific scenarios using git's interactive rebase functionality. Please visit Git Rewriting History documentation for a more omprehensive overview of options when using interactive rebase (and other history-rewriting git tooling)
Run git log --oneline
to display a condensed list of all recent commits