I just discovered I did a big mistake. I made changes in the master branch for several days when I had intended to do it in the feature-x branch.
How do I switch all changes in the current branch (master) to feature-x branch?
I'd also like to have master branch in a clean state. (When I do git status on master, it should show no changes, but when I do git status on feature-x it should show all changes I had so far).