Here\'s an example:
>git status # On branch master nothing to commit (working directory clean) >git checkout -b test-branch >vi test.c >git add t
Have you tried: git rebase -i master?
git rebase -i master