git log --pretty=oneline --since=1.day
Choose many commits would should be edits
git rebase -i HEAD~N_COMMITS
Use commands
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
git push -f origin HEAD