I got a very messy branch, with a lot of commits, that I used for some experimentations.
It turns out that I want to keep a large part of this work, but its really need to be refactored and cleaned up.
So I'd like to copy all these modifications to a new branch, without history and without committing.
That way, I could clean it up, start a proper feature branch and remove the messy one.
Before:
D - E - F
/
A - B - C
After:
D - E - F
/
A - B - C
\
DEF (uncommitted)
I didn't find the way to do that, help would be really appreciated.
Thanks :-)