Hey, I've got problems with moving commits on another branch. Let's say I have 2 branches, staging and development. I developed some larger functionality on development branch, and I also worked on other changes on development branch. Now I want to move only the larger functionality to staging branch, but I don't want to move all of the other changes so I cannot merge the whole branch development onto another. I don't want to also cherry pick selected commits from development onto staging, I'd rather squash them and see only one commit with whole larger functionality on staging branch. As far as I know I should you Rebase dialog from phpStorm, but it's not working as I expected. If I select branch development and set onto to staging
I'm getting correct Rebase window with commits that I expect
however after finishing the rebasing procedure squached commits are not showing on the staging branch, rather than on development and not only the squashed commits, but also something that looks like merged branch staging into development - which is the other way around!
What is the correct configuration of rebasing commits onto another branch?