Git : Move staged changes to different or new branch

Viewed 8440

I can currently do it by following these three steps

  1. Unstage by using git reset HEAD <file>...
  2. checkout to the branch git checkout [-b] <branchname>
  3. Stage again git add <file>...

Is there a better way of moving the staged changes?

3 Answers
Related