replay the last commit only from branch:
If you have to branches that build on top of each other and one was merged to master, you can clean the commit history by rebasing onto newbranch1(master). In this case only the last commit of your branch is replayed on master