I have a git branch named master
and I made some changes to some files. (No commit yet)
Now I realize "hey, these are some big changes.. I should branch off to a dev
branch".
How do I take the changes I just made, bring them to a new branch dev
and then undo the changes in the master
branch?