# rebase the currently checked out branch in to git rebase # ex: # this flattens the dev1 history in to master git checkout dev1 git rebase master