For purely local branches, bringing your branch up to date is called
rebasing, which causes the branch to look as if you had
started from the latest version of master
. The steps are as
follows:
$ git checkout master Checkout master $ git pull Update it $ git checkout feature/python Move back to new, purely local branch $ git rebase master ``Start over'' from current master