I got some commits in my repository:
like:
A - Added Feature A B - Removed Feature B C - Redesigned Feature C D - Added Feature D E - Added Feature
this is called rebasing: you want the -i switch.
-i
read: https://www.atlassian.com/git/tutorial/rewriting-git-history#!rebase-i
for a similar question/answer see: https://stackoverflow.com/a/2938393/2536029