I made a bunch of commits to the master and realized after the fact that they should have been in a branch.
I've looked at various things about rebasing and merging and resetting the master. But no attempts at manipulation have yielded a history that looks like what I'm trying to do.
My attempts lead me to believe it requires some combination of rebase --onto and reset --hard to move the master back in time. But my understanding of Git's branching leaves something to be desired. Part of doing this is to learn how I can use it.
Should be noted none of the changes that I'm trying to move have been pushed out.
Current
  * remote/trunk
--o--a--b--c--d--e--f     <- master
  |
  o                       <- remote branch foo
Desired Outcome
  * remote/trunk
--o                       <- master
  |
  o--a--b--c--d--e--f     <- remote branch foo
 
     
     
     
     
    