Possible Duplicate:
Move existing, uncommited work to a new branch in Git
I have some code in branch ABC.
After making some changes to it, i’d like to move all those uncommitted changes into a commit on a new branch ABC_1.
How can this be done please?
Just create a new branch:
And if you do
git statusyou’ll see that the state of the code hasn’t changed and you can commit it to the new branch.