### Rebase master branch into local branch ```bash git rebase origin/master ``` ### Squashing commits together ```bash git rebase -i ```