I am in Visual Studio 2015 "Team Explorer" on my master
branch and I am trying to get some bugfixes I accidentally did on the development
branch back into the master branch. Someone told me I should cherry-pick them.
So I made sure there are no uncommitted changes, and both branches are up-to-date with the server (push & pull & fetch). I went into "Branches", where master
is marked bold (= the current branch) and right clicked on development
-> Cherry-Pick. The error I get is
An error has occurred. Detailed message: Mainline branch is not specified but b0c4de0c8e164d09efe73a24aec3f9096c860e1f is a merge commit
I also tried to select Cherry-Pick on the remote branch (remotes/origin -> development), but this yields nearly the same error message:
An error has occurred. Detailed message: Mainline branch is not specified but d3e131d52e5af8aa0ff9bbd2e394da5232a66920 is a merge commit
What am I missing here?