I'm sure this is a simple thing that has been asked and answered, but I don't know what terms to search for. I have this:
/--master--X--Y
A--B
--C--D--E
Where I commited C, D, and E (locally only) on a branch, but then I realized that D and E are really independent of C. I want to move C to its own branch, and keep D and E for later. That is, I want this:
/--C
/--master--X--Y
A--B
--D--E
How do I yank C out from under D and E?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…